]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/brag/client/ceph-brag
update sources to v12.1.2
[ceph.git] / ceph / src / brag / client / ceph-brag
index d5e5a2ded208f7ca12dfe3e29fd88de6637ca72a..7df516740f2af1eac7cb2ec0568c45fd82d1293b 100755 (executable)
@@ -226,10 +226,10 @@ def get_uuid():
   if rc:
     #uuid is not yet set.
     uid = str(uuid.uuid4())
-    (rc, o, e) = run_command(['ceph', 'config-key', 'put',
+    (rc, o, e) = run_command(['ceph', 'config-key', 'set',
                              CLUSTER_UUID_NAME, uid])
     if rc:
-      raise RuntimeError("\'ceph config-key put\' failed -" + e)
+      raise RuntimeError("\'ceph config-key set\' failed -" + e)
 
   return uid