Add missing call to zk_conn

This commit is contained in:
Joshua Boniface 2018-09-24 15:20:12 -04:00
parent 0fca16f512
commit 56bf7e14c8
1 changed files with 2 additions and 2 deletions

View File

@ -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)
###############################################################################