From 12046830056dcbd38e4ae29a49e441853f85b1ce Mon Sep 17 00:00:00 2001 From: mbrill-nt Date: Thu, 16 Jul 2020 15:55:53 +0200 Subject: [PATCH] Fixed print. --- script/grafana.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/grafana.py b/script/grafana.py index cfaf1db..d9ea9a5 100644 --- a/script/grafana.py +++ b/script/grafana.py @@ -143,9 +143,9 @@ def get_members_of_team(team): def remove_member_from_team(grafana_team, user_login): if configuration.DRY_RUN: - print("Would have removed user %s from team %s" % (grafana_team, user_login)) + print("Would have removed user %s from team %s" % (user_login, grafana_team)) else: - logger.info("Removing user %s from team %s" % (grafana_team, user_login)) + logger.info("Removing user %s from team %s" % (user_login, grafana_team)) grafana_api.teams.remove_team_member(get_id_of_team(grafana_team), get_id_by_login(user_login))