From 991c3e8938830bae07f79d5fc2df161612e23152 Mon Sep 17 00:00:00 2001 From: German Laullon Date: Mon, 3 Jul 2023 11:52:04 +0200 Subject: [PATCH] Minor bug (#36) * Update proxy.py * Update setup.py --- setup.py | 2 +- wavefront_cli/lib/proxy.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 3d7802e..8181f6e 100644 --- a/setup.py +++ b/setup.py @@ -33,7 +33,7 @@ def run(self): setuptools.setup( name='wavefront-cli', - version='0.1.0', + version='0.1.1', description='VMware Aria Operations for Applications CLI Utility.', long_description=long_description, url='https://github.com/wavefrontHQ/wavefront-cli', diff --git a/wavefront_cli/lib/proxy.py b/wavefront_cli/lib/proxy.py index 60e2235..cbdf4a7 100644 --- a/wavefront_cli/lib/proxy.py +++ b/wavefront_cli/lib/proxy.py @@ -114,7 +114,7 @@ def configure_proxy(url, wavefront_api_token, csp_api_token=None, if csp_api_token: # replace csp api token cmd = ('sed', '-i', '-e', - f'/#cspAPIToken=/c\tcspAPIToken={csp_api_token})', + f'/#cspAPIToken=/c\tcspAPIToken={csp_api_token}', '/etc/wavefront/wavefront-proxy/wavefront.conf') ret_code = system.run_cmd(cmd) if ret_code > 0: