diff options
author | Lars Wirzenius <liw@liw.fi> | 2018-09-03 19:48:20 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2018-09-03 19:48:20 +0300 |
commit | e98feb994acf0e322d1c009963e27f81198f082f (patch) | |
tree | dda28076ad76476b4f9796565814c3990c245d64 | |
parent | f78576588117223f4eb92adeb1b2555b03b8a00f (diff) | |
download | vmdb2-e98feb994acf0e322d1c009963e27f81198f082f.tar.gz |
Fix: name of exception
-rw-r--r-- | vmdb/plugins/virtuals_plugin.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vmdb/plugins/virtuals_plugin.py b/vmdb/plugins/virtuals_plugin.py index 5c567cf..ec7682d 100644 --- a/vmdb/plugins/virtuals_plugin.py +++ b/vmdb/plugins/virtuals_plugin.py @@ -71,7 +71,7 @@ class VirtualFilesystemMountStepRunner(vmdb.StepRunnerInterface): for mount_point in reversed(state.virtuals): try: vmdb.unmount(mount_point) - except vmdb.NotFound as e: + except vmdb.NotMounted as e: logging.warning(str(e)) except cliapp.AppException: vmdb.warning('Something went wrong while unmounting. Ignoring.') |