From 8e906868057af2a4889fdee1187a0517b40db286 Mon Sep 17 00:00:00 2001 From: Radoslaw Zarzynski Date: Fri, 5 Feb 2016 13:33:03 +0100 Subject: [PATCH] rgw: fix wrong format of admin token request in Keystone v3. Signed-off-by: Radoslaw Zarzynski --- src/rgw/rgw_json_enc.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/rgw/rgw_json_enc.cc b/src/rgw/rgw_json_enc.cc index 26a54a34c3fca..e7c6615cd20df 100644 --- a/src/rgw/rgw_json_enc.cc +++ b/src/rgw/rgw_json_enc.cc @@ -1220,6 +1220,7 @@ void KeystoneAdminTokenRequestVer2::dump(Formatter * const f) const void KeystoneAdminTokenRequestVer3::dump(Formatter * const f) const { + f->open_object_section("token_request"); f->open_object_section("auth"); f->open_object_section("identity"); f->open_array_section("methods"); @@ -1249,4 +1250,5 @@ void KeystoneAdminTokenRequestVer3::dump(Formatter * const f) const f->close_section(); f->close_section(); f->close_section(); + f->close_section(); } -- 2.39.5