Skip to content

Commit

Permalink
Prevent host creation failure due to warnings in Proxmox server (#92)
Browse files Browse the repository at this point in the history
fixes #91
  • Loading branch information
Manisha15 authored Oct 2, 2023
1 parent 79f70ca commit 3741a85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fog/proxmox/compute/models/task.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def initialize(new_attributes = {})
end

def succeeded?
finished? && exitstatus == 'OK'
finished? && (exitstatus == 'OK' || exitstatus.include?('WARNING'))
end

def finished?
Expand Down

0 comments on commit 3741a85

Please sign in to comment.