From 56bf7e14c8125115a5b30a046924391b0f29db1a Mon Sep 17 00:00:00 2001 From: Joshua Boniface Date: Mon, 24 Sep 2018 15:20:12 -0400 Subject: [PATCH] Add missing call to zk_conn --- cli-client/pvc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli-client/pvc.py b/cli-client/pvc.py index 08699195..29b5b103 100755 --- a/cli-client/pvc.py +++ b/cli-client/pvc.py @@ -122,7 +122,7 @@ def node_info(node, long_output): """ zk_conn = pvc_common.startZKConnection(zk_host) - retcode, retmsg = pvc_node.get_info(node, long_output) + retcode, retmsg = pvc_node.get_info(zk_conn, node, long_output) cleanup(retcode, retmsg, zk_conn) ############################################################################### @@ -201,7 +201,7 @@ def router_info(router, long_output): """ zk_conn = pvc_common.startZKConnection(zk_host) - retcode, retmsg = pvc_router.get_info(router, long_output) + retcode, retmsg = pvc_router.get_info(zk_conn, router, long_output) cleanup(retcode, retmsg, zk_conn) ###############################################################################