Merge "Filter out direct_url from image properties"

This commit is contained in:
Zuul 2021-02-23 20:54:00 +00:00 committed by Gerrit Code Review
commit f5caccd20e
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ Puppet::Type.type(:glance_image).provide(
if props == nil if props == nil
return nil return nil
end 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) } rv = props.select { |k, v| not hidden.include?(k) }
return rv return rv
end end