Merge "Filter out direct_url from image properties"
This commit is contained in:
commit
f5caccd20e
|
@ -175,7 +175,7 @@ Puppet::Type.type(:glance_image).provide(
|
|||
if props == nil
|
||||
return nil
|
||||
end
|
||||
hidden = ['os_hash_algo', 'os_hash_value', 'os_hidden', 'stores']
|
||||
hidden = ['os_hash_algo', 'os_hash_value', 'os_hidden', 'direct_url', 'stores']
|
||||
rv = props.select { |k, v| not hidden.include?(k) }
|
||||
return rv
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue