Merge "nova_flavor: Strip '' from project id value"

This commit is contained in:
Zuul 2022-02-15 10:31:00 +00:00 committed by Gerrit Code Review
commit 4db2df55a9
1 changed files with 1 additions and 0 deletions

View File

@ -88,6 +88,7 @@ Puppet::Type.type(:nova_flavor).provide(
else
project_value = access_project_ids
end
project_value = project_value.gsub('\'', '')
properties = Hash[attrs[:properties].scan(/(\S+)='([^']*)'/)] rescue nil
new(
:ensure => :present,