]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/mon/ConfigKeyService.cc
update sources to v12.1.2
[ceph.git] / ceph / src / mon / ConfigKeyService.cc
index 3adba6dd0d530fa709c7dcf86407de220fdc1c3e..29ae9d959427aa4c38872fddb33607b44b1c6e24 100644 (file)
@@ -184,7 +184,8 @@ bool ConfigKeyService::service_dispatch(MonOpRequestRef op)
     }
     ss << "obtained '" << key << "'";
 
-  } else if (prefix == "config-key put") {
+  } else if (prefix == "config-key put" ||
+            prefix == "config-key set") {
     if (!mon->is_leader()) {
       mon->forward_request_leader(op);
       // we forward the message; so return now.
@@ -241,7 +242,8 @@ bool ConfigKeyService::service_dispatch(MonOpRequestRef op)
       ret = -ENOENT;
     }
 
-  } else if (prefix == "config-key list") {
+  } else if (prefix == "config-key list" ||
+            prefix == "config-key ls") {
     stringstream tmp_ss;
     store_list(tmp_ss);
     rdata.append(tmp_ss);