mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Lint
This commit is contained in:
parent
2e0e6a0ef8
commit
745692dccf
@ -1598,7 +1598,7 @@ def upgrade_tools(name, reboot=False, call=None):
|
||||
if tools_status == "toolsOk":
|
||||
return 'VMware tools is already up to date'
|
||||
|
||||
# Exit if VM is not powered on
|
||||
# Exit if VM is not powered on
|
||||
if vm.summary.runtime.powerState != "poweredOn":
|
||||
return 'Tools cannot be upgraded if the VM is not powered on'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user