diff --git a/client-cli/cli_lib/ceph.py b/client-cli/cli_lib/ceph.py index c0540e8b..743a3d96 100644 --- a/client-cli/cli_lib/ceph.py +++ b/client-cli/cli_lib/ceph.py @@ -30,7 +30,7 @@ import cli_lib.ansiprint as ansiprint def debug_output(config, request_uri, response): if config['debug']: - import click.echo + from click import echo click.echo('API endpoint: {}'.format(request_uri), err=True) click.echo('Response code: {}'.format(response.status_code), err=True) click.echo('Response headers: {}'.format(response.headers), err=True) diff --git a/client-cli/cli_lib/cluster.py b/client-cli/cli_lib/cluster.py index aa954ad1..1b31d119 100644 --- a/client-cli/cli_lib/cluster.py +++ b/client-cli/cli_lib/cluster.py @@ -27,7 +27,7 @@ import cli_lib.ansiprint as ansiprint def debug_output(config, request_uri, response): if config['debug']: - import click.echo + from click import echo click.echo('API endpoint: POST {}'.format(request_uri), err=True) click.echo('Response code: {}'.format(response.status_code), err=True) click.echo('Response headers: {}'.format(response.headers), err=True) diff --git a/client-cli/cli_lib/network.py b/client-cli/cli_lib/network.py index 485e427c..16d68a08 100644 --- a/client-cli/cli_lib/network.py +++ b/client-cli/cli_lib/network.py @@ -28,7 +28,7 @@ import cli_lib.ansiprint as ansiprint def debug_output(config, request_uri, response): if config['debug']: - import click.echo + from click import echo click.echo('API endpoint: POST {}'.format(request_uri), err=True) click.echo('Response code: {}'.format(response.status_code), err=True) click.echo('Response headers: {}'.format(response.headers), err=True) diff --git a/client-cli/cli_lib/node.py b/client-cli/cli_lib/node.py index 98203240..f126e388 100644 --- a/client-cli/cli_lib/node.py +++ b/client-cli/cli_lib/node.py @@ -26,7 +26,7 @@ import cli_lib.ansiprint as ansiprint def debug_output(config, request_uri, response): if config['debug']: - import click.echo + from click import echo click.echo('API endpoint: POST {}'.format(request_uri), err=True) click.echo('Response code: {}'.format(response.status_code), err=True) click.echo('Response headers: {}'.format(response.headers), err=True) diff --git a/client-cli/cli_lib/provisioner.py b/client-cli/cli_lib/provisioner.py index acdc7248..c94ecd30 100644 --- a/client-cli/cli_lib/provisioner.py +++ b/client-cli/cli_lib/provisioner.py @@ -29,7 +29,7 @@ import cli_lib.ansiprint as ansiprint def debug_output(config, request_uri, response): if config['debug']: - import click.echo + from click import echo click.echo('API endpoint: POST {}'.format(request_uri), err=True) click.echo('Response code: {}'.format(response.status_code), err=True) click.echo('Response headers: {}'.format(response.headers), err=True) diff --git a/client-cli/cli_lib/vm.py b/client-cli/cli_lib/vm.py index 786042a3..f8f6ee2b 100644 --- a/client-cli/cli_lib/vm.py +++ b/client-cli/cli_lib/vm.py @@ -32,7 +32,7 @@ import cli_lib.ceph as ceph def debug_output(config, request_uri, response): if config['debug']: - import click.echo + from click import echo click.echo('API endpoint: POST {}'.format(request_uri), err=True) click.echo('Response code: {}'.format(response.status_code), err=True) click.echo('Response headers: {}'.format(response.headers), err=True)