Skip to content

Commit

Permalink
Fixed log error message with incorrect number of parameterts.
Browse files Browse the repository at this point in the history
  • Loading branch information
SuvarnaMeenakshi committed Mar 25, 2020
1 parent 532bba8 commit f2959ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def execute_systemctl(list_of_services, action):
click.echo("Executing {} of service {}@{}...".format(action, service, inst))
run_command("systemctl {} {}@{}.service".format(action, service, inst))
except SystemExit as e:
log_error("Failed to execute {} of service {}@{} with error {}".format(action, service, e))
log_error("Failed to execute {} of service {}@{} with error {}".format(action, service, inst, e))
raise

def run_command(command, display_cmd=False, ignore_error=False):
Expand Down

0 comments on commit f2959ca

Please sign in to comment.