version 0.3.2 bugfix for correct handling "already started"
This commit is contained in:
parent
e2b38ca779
commit
d6e7d84afc
|
@ -178,7 +178,7 @@ class PVE::Cli
|
||||||
def start host, node: nil, timeout: nil, fire: nil, secs: nil
|
def start host, node: nil, timeout: nil, fire: nil, secs: nil
|
||||||
timeout ||= 60
|
timeout ||= 60
|
||||||
if host.running?
|
if host.running?
|
||||||
condition_violation "Already running."
|
ConditionViolation "Already running."
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
task = host.start
|
task = host.start
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
module PVE
|
module PVE
|
||||||
VERSION = '0.3.1'
|
VERSION = '0.3.2'
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue