From d6bd616b31dea84a45af2b02f69b173a890a69d0 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Mon, 30 Dec 2019 14:35:44 -0500 Subject: [PATCH] Fix some bad output --- client-cli/cli_lib/vm.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client-cli/cli_lib/vm.py b/client-cli/cli_lib/vm.py index b88d2e65..ee5df7b1 100644 --- a/client-cli/cli_lib/vm.py +++ b/client-cli/cli_lib/vm.py @@ -60,7 +60,7 @@ def vm_info(config, vm): ) if config['debug']: - print('API endpoint: POST {}'.format(request_uri)) + print('API endpoint: GET {}'.format(request_uri)) print('Response code: {}'.format(response.status_code)) print('Response headers: {}'.format(response.headers)) @@ -71,7 +71,7 @@ def vm_info(config, vm): def vm_list(config, limit, target_node, target_state): """ - Get list information about nodes (limited by {limit}, {target_node}, or {target_state}) + Get list information about VMs (limited by {limit}, {target_node}, or {target_state}) API endpoint: GET /api/v1/vm API arguments: limit={limit}, node={target_node}, state={target_state} @@ -92,7 +92,7 @@ def vm_list(config, limit, target_node, target_state): ) if config['debug']: - print('API endpoint: POST {}'.format(request_uri)) + print('API endpoint: GET {}'.format(request_uri)) print('Response code: {}'.format(response.status_code)) print('Response headers: {}'.format(response.headers))