Skip to content
Snippets Groups Projects
Verified Commit e5d5f6e9 authored by Quentin Duchemin's avatar Quentin Duchemin
Browse files

Fix Mattermost info message

parent b38a80e2
No related branches found
No related tags found
No related merge requests found
......@@ -72,10 +72,10 @@ class MattermostCollector():
# Get all instances stats
for instance in self.instances:
# Get current stats
print("Mattermost : collecting for instance {}".format(instance['name']))
print("Mattermost : collecting for instance {}".format(instance['config']['name']))
data = self._get_stats(instance)
if data is None:
print('Unable to get stats from Mattermost instance ' + instance['config']['url'])
print('Unable to get stats from Mattermost instance ' + instance['config']['name'])
continue
# Get current miliseconds timestamp
current_timestamp = int(datetime.datetime.now().timestamp()*1000)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment