Skip to content

Commit

Permalink
Fixed InventoryCollection Vm and Template
Browse files Browse the repository at this point in the history
Default values name and location were missing
  • Loading branch information
slemrmartin committed Jun 19, 2018
1 parent 7202cbe commit b08991d
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ def vms

def miq_templates
vm_template_shared
add_builder_params(
:template => true
)
end

def vm_template_shared
Expand All @@ -56,8 +59,10 @@ def vm_template_shared
)

add_builder_params(
:ems_id => ->(persister) { persister.manager.id },
:vendor => vendor
:ems_id => ->(persister) { persister.manager.id },
:vendor => vendor,
:name => 'unknown',
:location => 'unknown'
)
end

Expand Down

0 comments on commit b08991d

Please sign in to comment.