From 3fbd5fceadd21dd1b35de1e2838a74a012f7295c Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Sun, 12 Jan 2020 16:06:18 -0500 Subject: [PATCH] Reformat output warning message --- client-cli/pvc.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/client-cli/pvc.py b/client-cli/pvc.py index 3483ec8e..7d9a3312 100755 --- a/client-cli/pvc.py +++ b/client-cli/pvc.py @@ -353,7 +353,9 @@ def node_secondary(node): task_retcode, task_retdata = pvc_provisioner.task_status(config, None) if len(task_retdata) > 0: - click.echo("Note: There are currently {} active or queued provisioner jobs on the current primary node. These will continue executing, but job status will not be visible until the current node returns to primary state.".format(len(task_retdata))) + click.echo("Note: There are currently {} active or queued provisioner jobs on the current primary node.".format(len(task_retdata))) + click.echo(" These jobs will continue executing, but status will not be visible until the current") + click.echo(" node returns to primary state.") click.echo() retcode, retmsg = pvc_node.node_coordinator_state(config, node, 'secondary') @@ -373,7 +375,9 @@ def node_primary(node): task_retcode, task_retdata = pvc_provisioner.task_status(config, None) if len(task_retdata) > 0: - click.echo("Note: There are currently {} active or queued provisioner jobs on the current primary node. These will continue executing, but job status will not be visible until the current node returns to primary state.".format(len(task_retdata))) + click.echo("Note: There are currently {} active or queued provisioner jobs on the current primary node.".format(len(task_retdata))) + click.echo(" These jobs will continue executing, but status will not be visible until the current") + click.echo(" node returns to primary state.") click.echo() retcode, retmsg = pvc_node.node_coordinator_state(config, node, 'primary')