use plugin constants from neutron-lib

Last patch for this appears to have missed a ref.

Also see I767c626f3fe6159ab3abd6a7ae3cb9893b79bf66 for the related
neutron change.

Change-Id: I013ea35faa78d02658e4487b5bd7c2037536068f
This commit is contained in:
Boden R 2017-06-13 09:28:50 -06:00
parent f04765e2f6
commit 0a0fe5a6fc
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ def _fixup_res_dict(context, attr_name, res_dict, check_allow_post=True):
attr_ops = lib_attrs.AttributeInfo(attr_info)
try:
attr_ops.populate_project_id(context, res_dict, True)
attributes.populate_project_info(attr_info)
lib_attrs.populate_project_info(attr_info)
attr_ops.verify_attributes(res_dict)
except webob.exc.HTTPBadRequest as e:
# convert webob exception into ValueError as these functions are