Skip to content

Commit

Permalink
fix more unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
paulineribeyre committed May 2, 2023
1 parent 334c932 commit c08f689
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions fence/blueprints/data/indexd.py
Original file line number Diff line number Diff line change
Expand Up @@ -721,9 +721,7 @@ def delete(self):
# it's possible that for some reason (something else modified the record in the
# meantime) that the revision doesn't match, which would lead to error here
if response.status_code != 200:
logger.error(
f"Unable to delete indexd record '{self.file_id}': {response.status_code} - {response.text}"
)
logger.error(f"Unable to delete indexd record '{self.file_id}': {response}")
return (flask.jsonify(response.json()), 500)
return ("", 204)

Expand Down

0 comments on commit c08f689

Please sign in to comment.