diff options
author | Harry Huang <huangxiangyu5@huawei.com> | 2018-12-14 09:24:09 +0800 |
---|---|---|
committer | Harry Huang <huangxiangyu5@huawei.com> | 2018-12-14 09:24:09 +0800 |
commit | f347757444c74a3d597dc353aa92d88a0f6282bb (patch) | |
tree | b538bae7c1a80cc8cbf5e09017c122d711446428 /compass-cobbler | |
parent | 95f7bab29edf5396b1727b4a0a5ceb02073ac8a5 (diff) |
Fix fence_libvirt
JIRA: -
Bug fix
Change-Id: I97dee71f21e01534ac9ea24e554ad61b34916494
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
Diffstat (limited to 'compass-cobbler')
-rwxr-xr-x | compass-cobbler/fence_libvirt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compass-cobbler/fence_libvirt b/compass-cobbler/fence_libvirt index a59373b..53e235c 100755 --- a/compass-cobbler/fence_libvirt +++ b/compass-cobbler/fence_libvirt @@ -84,7 +84,7 @@ def no_cli(): opt.update({name: value}) except Exception: continue - try: + if opt["action"] and opt["hostname"]: power_action(opt["action"], opt["hostname"], opt["user"], opt["passwd"]) |