version 0.3.2 bugfix for correct handling "already started"

This commit is contained in:
Denis Knauf 2023-10-21 00:14:26 +02:00
parent e2b38ca779
commit d6e7d84afc
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -1,3 +1,3 @@
module PVE module PVE
VERSION = '0.3.1' VERSION = '0.3.2'
end end