From adbaf2ef0ddc05d542bac5be010e59c99d230ff1 Mon Sep 17 00:00:00 2001 From: age Date: Mon, 21 Jul 2008 17:29:30 +0000 Subject: [PATCH] correct hdf value for umount error --- plugins/volume_mount/volume_mount.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/volume_mount/volume_mount.py b/plugins/volume_mount/volume_mount.py index 940e607..389e78c 100644 --- a/plugins/volume_mount/volume_mount.py +++ b/plugins/volume_mount/volume_mount.py @@ -125,7 +125,7 @@ class volume_mount(cryptobox.plugins.base.CryptoBoxPlugin): try: self.container.umount() except CBUmountError, err_msg: - self.hdf["Data.Warning"] = "UmountFailed" + self.hdf["Data.Warning"] = "Plugins.volume_mount.UmountFailed" self.cbox.log.warn("could not umount the volume (%s): %s" \ % (self.device, err_msg)) return "volume_status"