Fix a few more bugs

This commit is contained in:
2019-06-19 15:32:32 -04:00
parent 97a3dafa3b
commit 3dd56c55c0
2 changed files with 19 additions and 8 deletions

View File

@ -1443,7 +1443,7 @@ def ceph_volume_snapshot_remove(pool, volume, name):
Remove a Ceph RBD volume with name NAME from pool POOL.
"""
click.echo('DANGER: This will completely remove volume {} from pool {} and all data contained in it.'.format(name, pool))
click.echo('DANGER: This will completely remove snapshot {} from volume {}/{} and all data contained in it.'.format(name, pool, volume))
choice = input('Are you sure you want to do this? (y/N) ')
if choice == 'y' or choice == 'Y':
zk_conn = pvc_common.startZKConnection(zk_host)