From 3741a85a3c5d20f57bbbf84f4862cf4a7499cf17 Mon Sep 17 00:00:00 2001 From: Manisha Singhal Date: Mon, 2 Oct 2023 09:50:44 +0200 Subject: [PATCH] Prevent host creation failure due to warnings in Proxmox server (#92) fixes #91 --- lib/fog/proxmox/compute/models/task.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fog/proxmox/compute/models/task.rb b/lib/fog/proxmox/compute/models/task.rb index 7910c8e..d097425 100644 --- a/lib/fog/proxmox/compute/models/task.rb +++ b/lib/fog/proxmox/compute/models/task.rb @@ -54,7 +54,7 @@ def initialize(new_attributes = {}) end def succeeded? - finished? && exitstatus == 'OK' + finished? && (exitstatus == 'OK' || exitstatus.include?('WARNING')) end def finished?