]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mon/ConfigKeyService: more useful status message
authorSage Weil <sage@redhat.com>
Thu, 1 Jun 2017 20:33:42 +0000 (16:33 -0400)
committerSage Weil <sage@redhat.com>
Thu, 8 Jun 2017 18:29:37 +0000 (14:29 -0400)
Signed-off-by: Sage Weil <sage@redhat.com>
src/mon/ConfigKeyService.cc

index 9978403afc75b441a5e1f344090c6e562df79b35..3adba6dd0d530fa709c7dcf86407de220fdc1c3e 100644 (file)
@@ -208,8 +208,9 @@ bool ConfigKeyService::service_dispatch(MonOpRequestRef op)
       goto out;
     }
     // we'll reply to the message once the proposal has been handled
+    ss << "set " << key;
     store_put(key, data,
-        new Monitor::C_Command(mon, op, 0, "value stored", 0));
+             new Monitor::C_Command(mon, op, 0, ss.str(), 0));
     // return for now; we'll put the message once it's done.
     return true;