Skip to content
This repository has been archived by the owner on Mar 22, 2023. It is now read-only.

Commit

Permalink
fix error message concatenating dict to str
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Tang authored and kevo1ution committed Mar 29, 2021
1 parent 88d0662 commit 2e798f5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cli/waiter/subcommands/maintenance.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ def start_maintenance(clusters, args, enforce_cluster):
json_body.update(update_doc)
return_code, token_etag = _update_token(cluster, token_name, existing_token_etag, json_body)
if return_code == 0:
print_info(f'Maintenance mode activated for {terminal.bold(token_name)} on cluster {terminal.bold(cluster)}.')
print_info(f'Maintenance mode activated for {terminal.bold(token_name)} on cluster '
f'{terminal.bold(cluster["name"])}.')
kill_services = False
force_flag = False
if kill_services_option == 'force_kill':
Expand Down

0 comments on commit 2e798f5

Please sign in to comment.