]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-volume: print success message if zap succeeds
authorAndrew Schoen <aschoen@redhat.com>
Mon, 23 Oct 2017 14:44:07 +0000 (09:44 -0500)
committerAndrew Schoen <aschoen@redhat.com>
Fri, 27 Oct 2017 16:15:44 +0000 (11:15 -0500)
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
src/ceph-volume/ceph_volume/devices/lvm/zap.py

index 1d43b5a1dbdd05009ec0ee70b714b6155c964bb1..df19686ff996e94f5205f807d42fbbbd5dc5190f 100644 (file)
@@ -67,6 +67,8 @@ class Zap(object):
             # remove all lvm metadata
             lv.clear_tags()
 
+        terminal.success("Zapping successful for: %s" % path)
+
     def main(self):
         sub_command_help = dedent("""
         Zaps the given logical volume or partition. If given a path to a logical