Skip to content

Commit

Permalink
print
Browse files Browse the repository at this point in the history
  • Loading branch information
paulineribeyre committed Jan 26, 2021
1 parent afa477c commit 575a0f5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fence/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ def app_init(
def setup_prometheus(app):
if "prometheus_multiproc_dir" not in os.environ:
os.environ["prometheus_multiproc_dir"] = "/tmp"
print("prometheus_multiproc_dir", os.environ["prometheus_multiproc_dir"])

registry = CollectorRegistry()
multiprocess.MultiProcessCollector(registry)
Expand Down Expand Up @@ -242,7 +243,7 @@ def _check_s3_buckets(app):
if not getattr(app, "boto"):
logger.warning(
"WARNING: boto not setup for app, probably b/c "
"nothing in AWS_CREDENTIALS. Cannot attempt to get bucket "
"nothing in AWS_CREDENTIALS. Cannot attempt to get "
"bucket regions."
)
return
Expand Down

0 comments on commit 575a0f5

Please sign in to comment.