Cleanup redundant want_version assignment.

This redundant line was added in [1], but we already introduced the
want_version in line [2].

This patch remove the redundant line[2].

[1] https://review.openstack.org/#/c/521640/10/nova/api/openstack/placement/handlers/resource_provider.py@321
[2] https://review.openstack.org/#/c/521640/10/nova/api/openstack/placement/handlers/resource_provider.py@328

trivial_fix

Change-Id: Ie008775384f8103214e21b39f3273f48f699fb65
This commit is contained in:
Yikun Jiang 2018-01-19 22:41:47 +08:00
parent b0d912d164
commit 86ce098780

@ -326,7 +326,6 @@ def update_resource_provider(req):
context, uuid)
schema = PUT_RESOURCE_PROVIDER_SCHEMA
want_version = req.environ[microversion.MICROVERSION_ENVIRON]
if want_version.matches((1, 14)):
schema = PUT_RP_SCHEMA_V1_14