Fix wrong property name in deprecation warning
This change fixes the wrong property name (project_id instead of
project_name) in deprecation warning messages introduced by
91c9bc3f33
.
Change-Id: If6e3afef57f1625c9bd4ee27aecf1e16c2862976
This commit is contained in:
parent
3d03306ae4
commit
781f8d6c8f
@ -103,7 +103,7 @@ Puppet::Type.newtype(:neutron_network) do
|
||||
warning('The tenant_id property is deprecated. Use project_id.')
|
||||
end
|
||||
if self[:tenant_name]
|
||||
warning('The tenant_name property is deprecated. Use project_id.')
|
||||
warning('The tenant_name property is deprecated. Use project_name.')
|
||||
end
|
||||
|
||||
project_id = self[:tenant_id] or self[:project_id]
|
||||
|
@ -121,7 +121,7 @@ Puppet::Type.newtype(:neutron_port) do
|
||||
warning('The tenant_id property is deprecated. Use project_id.')
|
||||
end
|
||||
if self[:tenant_name]
|
||||
warning('The tenant_name property is deprecated. Use project_id.')
|
||||
warning('The tenant_name property is deprecated. Use project_name.')
|
||||
end
|
||||
|
||||
project_id = self[:tenant_id] or self[:project_id]
|
||||
|
@ -117,7 +117,7 @@ Puppet::Type.newtype(:neutron_router) do
|
||||
warning('The tenant_id property is deprecated. Use project_id.')
|
||||
end
|
||||
if self[:tenant_name]
|
||||
warning('The tenant_name property is deprecated. Use project_id.')
|
||||
warning('The tenant_name property is deprecated. Use project_name.')
|
||||
end
|
||||
|
||||
project_id = self[:tenant_id] or self[:project_id]
|
||||
|
@ -139,7 +139,7 @@ EOT
|
||||
warning('The tenant_id property is deprecated. Use project_id.')
|
||||
end
|
||||
if self[:tenant_name]
|
||||
warning('The tenant_name property is deprecated. Use project_id.')
|
||||
warning('The tenant_name property is deprecated. Use project_name.')
|
||||
end
|
||||
|
||||
project_id = self[:tenant_id] or self[:project_id]
|
||||
|
Loading…
Reference in New Issue
Block a user