Skip to content
Snippets Groups Projects
Commit 110e5f0e authored by Mikel's avatar Mikel
Browse files

More typos fixed.

parent a07760c7
No related branches found
No related tags found
No related merge requests found
......@@ -31,7 +31,7 @@ def save_alert_channel(channel_name, file_name, alert_channel_setting):
f.write(json.dumps(alert_channel_setting))
print("alert_channel:{0} is saved to {1}".format(channel_name, file_path))
def get_indivisual_alert_channel_and_save(channels):
def get_individual_alert_channel_and_save(channels):
file_path = folder_path + '/' + log_file
if channels:
with open(u"{0}".format(file_path) , 'w') as f:
......@@ -51,5 +51,5 @@ def get_indivisual_alert_channel_and_save(channels):
alert_channels = get_all_alert_channels_in_grafana()
get_indivisual_alert_channel_and_save(alert_channels)
get_individual_alert_channel_and_save(alert_channels)
print_horizontal_line()
......@@ -34,7 +34,7 @@ def save_dashboard_setting(dashboard_name, file_name, dashboard_settings):
print("dashboard: {0} -> saved to: {1}".format(dashboard_name, file_path))
def get_indivisual_dashboard_setting_and_save(dashboards):
def get_individual_dashboard_setting_and_save(dashboards):
file_path = folder_path + '/' + log_file
if dashboards:
with open(u"{0}".format(file_path), 'w') as f:
......@@ -58,13 +58,13 @@ def save_dashboards_above_Ver6_2():
break
else:
current_page += 1
get_indivisual_dashboard_setting_and_save(dashboards)
get_individual_dashboard_setting_and_save(dashboards)
print_horizontal_line()
def save_dashboards():
dashboards = get_all_dashboards_in_grafana(1)
print_horizontal_line()
get_indivisual_dashboard_setting_and_save(dashboards)
get_individual_dashboard_setting_and_save(dashboards)
print_horizontal_line()
......
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