]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
rgw: Correcting the default value of sts max session duration.
authorPritha Srivastava <prsrivas@redhat.com>
Sun, 16 Sep 2018 16:10:24 +0000 (21:40 +0530)
committerPritha Srivastava <prsrivas@redhat.com>
Fri, 21 Sep 2018 05:39:33 +0000 (11:09 +0530)
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
src/common/options.cc

index 8f80b0cbb53a3047f4594095407925bf595e6f79..fcddf7382e8bcdff760d535b86d393beee20fe0d 100644 (file)
@@ -6363,7 +6363,7 @@ std::vector<Option> get_rgw_options() {
     .set_description("Should S3 authentication use STS."),
 
     Option("rgw_sts_max_session_duration", Option::TYPE_UINT, Option::LEVEL_ADVANCED)
-    .set_default("43200")
+    .set_default(43200)
     .set_description("Session token max duration")
     .set_long_description("Max duration in seconds for which the session token is valid."),
   });