Skip to content

Commit 3741a85

Browse files
authored
Prevent host creation failure due to warnings in Proxmox server (#92)
fixes #91
1 parent 79f70ca commit 3741a85

File tree

1 file changed

+1
-1
lines changed
  • lib/fog/proxmox/compute/models

1 file changed

+1
-1
lines changed

lib/fog/proxmox/compute/models/task.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def initialize(new_attributes = {})
5454
end
5555

5656
def succeeded?
57-
finished? && exitstatus == 'OK'
57+
finished? && (exitstatus == 'OK' || exitstatus.include?('WARNING'))
5858
end
5959

6060
def finished?

0 commit comments

Comments
 (0)