Set statsd customer

This commit is contained in:
Guewen Baconnier committed 2016-11-04 13:39:50 +01:00
1 parent f643c19fba
commit 8400c0f34e
1 file changed
+1
+1
View File
@@ -34,6 +34,7 @@ if statsd_active and statsd is None and StatsClient is not None:
raise Exception(
'STATSD_CUSTOMER must contain the name of the customer'
)
customer = os.environ.get('STATSD_CUSTOMER')
if os.environ.get('STATSD_ENVIRONMENT'):
environment = os.environ['STATSD_ENVIRONMENT']
elif config.get('running_env'):
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.