Skip to content

Commit

Permalink
should not hvae been on self
Browse files Browse the repository at this point in the history
  • Loading branch information
hexylena committed Mar 21, 2018
1 parent 274c480 commit b5236cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/web/framework/middleware/statsd.py
Expand Up @@ -30,7 +30,7 @@ def __init__(self,
"Please install the python statsd module to use this functionality.")
self.application = application
self.metric_infix = ''
if self.statsd_influxdb:
if statsd_influxdb:
statsd_prefix = statsd_prefix.strip(',')
self.metric_infix = ',path='
self.statsd_client = statsd.StatsClient(statsd_host, statsd_port, prefix=statsd_prefix)
Expand Down

0 comments on commit b5236cd

Please sign in to comment.