]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph: fix mon.*
authorSage Weil <sage@inktank.com>
Fri, 14 Jun 2013 18:00:46 +0000 (11:00 -0700)
committerSage Weil <sage@inktank.com>
Fri, 14 Jun 2013 18:02:06 +0000 (11:02 -0700)
Signed-off-by: Sage Weil <sage@inktank.com>
src/ceph.in

index a650400687031d67361e6543c613d807e827223e..9089faec93c97e0f7cf3e7d5e13a14f7d7ac6ab8 100755 (executable)
@@ -1555,7 +1555,10 @@ def main():
     targets = [target]
 
     if target[1] == '*':
-        targets = [(target[0], o) for o in osdids()]
+        if target[0] == 'osd':
+            targets = [(target[0], o) for o in osdids()]
+        elif target[0] == 'mon':
+            targets = [(target[0], m) for m in monids()]
 
     final_ret = 0
     for target in targets: