summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2017-12-06 15:01:07 +0000
committerGerrit Code Review <review@openstack.org>2017-12-06 15:01:07 +0000
commit6c1dafb249fb658f37e00fc658cd6ba433128eb1 (patch)
tree2bac8abc2f7eb0d4dbd9d56a431e5d0d3c0e3991
parent6c3e444a61d6e7f3ff6618b209e3303865d4ea3a (diff)
parent4af3a43ab2ba5023eb8b4982331e7cff373f59fa (diff)
Merge "Correct error message for request token"
-rw-r--r--keystone/oauth1/controllers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/keystone/oauth1/controllers.py b/keystone/oauth1/controllers.py
index d9eeb56..cffb6eb 100644
--- a/keystone/oauth1/controllers.py
+++ b/keystone/oauth1/controllers.py
@@ -237,7 +237,7 @@ class OAuthControllerV3(controller.V3Controller):
237 attribute='oauth_consumer_key', target='request') 237 attribute='oauth_consumer_key', target='request')
238 if not requested_project_id: 238 if not requested_project_id:
239 raise exception.ValidationError( 239 raise exception.ValidationError(
240 attribute='requested_project_id', target='request') 240 attribute='Requested-Project-Id', target='request')
241 241
242 # NOTE(stevemar): Ensure consumer and requested project exist 242 # NOTE(stevemar): Ensure consumer and requested project exist
243 self.resource_api.get_project(requested_project_id) 243 self.resource_api.get_project(requested_project_id)