Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
glpatcern committed Dec 17, 2024
1 parent 7b60654 commit c379e38
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/core/cs3iface.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,12 @@ def healthcheck():
log.debug('msg="Executed ListAuthProviders as health check" endpoint="%s"' % (config["cs3client"]["host"]))
return "OK"
except ConnectionError as e:
log.error(
'msg="Health check: connection error when calling ListAuthProviders" endpoint="%s" error="%s"' % (config["cs3client"]["host"], e)
)
log.error('msg="Health check: connection error in calling ListAuthProviders" endpoint="%s" error="%s"' %
(config["cs3client"]["host"], e))
return "FAIL"
except Exception as e:
log.error(
'msg="Health check: failed to call ListAuthProviders" endpoint="%s" error="%s"' % (config["cs3client"]["host"], e)
)
log.error('msg="Health check: failed to call ListAuthProviders" endpoint="%s" error="%s"' %
(config["cs3client"]["host"], e))
return "FAIL"


Expand Down

0 comments on commit c379e38

Please sign in to comment.