Lint: F821 undefined name 'name'

This commit is contained in:
Joshua Boniface 2020-11-07 13:37:24 -05:00
parent dc1269ffc2
commit 516e36686c
1 changed files with 1 additions and 1 deletions

View File

@ -932,7 +932,7 @@ def clone_volume(zk_conn, pool, name_src, name_new):
'/ceph/snapshots/{}/{}'.format(pool, name_new): '',
})
return True, 'Cloned RBD volume "{}" to "{}" in pool "{}"'.format(name, name_new, pool)
return True, 'Cloned RBD volume "{}" to "{}" in pool "{}"'.format(name_src, name_new, pool)
def resize_volume(zk_conn, pool, name, size):
if not verifyVolume(zk_conn, pool, name):