Browse Source

Fix objname error in QosPolicy

This patch fixes objname error in class QosPolicy.

Change-Id: Idc67b2d8f7cca19f59f39b9c884d8cec2c12e867
Closes-Bug: #1843368
changes/58/681158/1
zhanghao2 2 years ago
parent
commit
2c83e07509
  1. 2
      neutron/objects/qos/policy.py

2
neutron/objects/qos/policy.py

@ -428,7 +428,7 @@ class QosPolicy(rbac_db.NeutronRbacObject):
if primitive['description'] is None:
# description was not nullable before
raise exception.IncompatibleObjectVersion(
objver=target_version, objname='QoSPolicy')
objver=target_version, objname='QosPolicy')
if _target_version < (1, 4):
primitive['tenant_id'] = primitive.pop('project_id')

Loading…
Cancel
Save