Merge "Correct error message for request token"

This commit is contained in:
Zuul 2017-12-06 15:01:07 +00:00 committed by Gerrit Code Review
commit 6c1dafb249
1 changed files with 1 additions and 1 deletions

View File

@ -237,7 +237,7 @@ class OAuthControllerV3(controller.V3Controller):
attribute='oauth_consumer_key', target='request')
if not requested_project_id:
raise exception.ValidationError(
attribute='requested_project_id', target='request')
attribute='Requested-Project-Id', target='request')
# NOTE(stevemar): Ensure consumer and requested project exist
self.resource_api.get_project(requested_project_id)