mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
fix issues in checking whether VM is of template type
This commit is contained in:
parent
0f84b3a28c
commit
69a3cc5e61
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ module Fog
|
|||
vms = convert_vm_view_to_attr_hash(vms)
|
||||
|
||||
# remove all template based virtual machines
|
||||
vms.delete_if { |v| v.config.nil? or v['template'] }
|
||||
vms.delete_if { |v| v['template'] }
|
||||
vms
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue