]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
librados: update for CLI arg format change
authorJohn Spray <john.spray@redhat.com>
Wed, 7 Nov 2018 11:54:02 +0000 (06:54 -0500)
committerJohn Spray <john.spray@redhat.com>
Wed, 7 Nov 2018 12:02:41 +0000 (07:02 -0500)
Signed-off-by: John Spray <john.spray@redhat.com>
src/librados/IoCtxImpl.cc

index 64095a85091756e1ef28ad0db19b2cb85746adcd..a3b486b6b5d8ddee640f1ef45113643774607707 100644 (file)
@@ -2092,7 +2092,7 @@ void librados::IoCtxImpl::application_enable_async(const std::string& app_name,
       << "\"pool\": \"" << get_cached_pool_name() << "\","
       << "\"app\": \"" << app_name << "\"";
   if (force) {
-    cmd << ",\"force\":\"--yes-i-really-mean-it\"";
+    cmd << ",\"yes_i_really_mean_it\": true";
   }
   cmd << "}";