From 145b1531a42e958d00ae4fc1a42735f20925f42b Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Sat, 7 Nov 2020 13:38:16 -0500 Subject: [PATCH] Lint: F821 undefined name 'name' --- daemon-common/ceph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon-common/ceph.py b/daemon-common/ceph.py index 4e9ec66d..6c7d0333 100644 --- a/daemon-common/ceph.py +++ b/daemon-common/ceph.py @@ -1063,7 +1063,7 @@ def unmap_volume(zk_conn, pool, name): def get_list_volume(zk_conn, pool, limit, is_fuzzy=True): volume_list = [] if pool and not verifyPool(zk_conn, pool): - return False, 'ERROR: No pool with name "{}" is present in the cluster.'.format(name) + return False, 'ERROR: No pool with name "{}" is present in the cluster.'.format(pool) full_volume_list = getCephVolumes(zk_conn, pool)