diff options
author | Sage Weil <sage@inktank.com> | 2013-04-18 11:17:30 -0700 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-04-18 11:20:20 -0700 |
commit | 0d46dc4646b1da7e4ca58a9580f7123b961f9019 (patch) | |
tree | 72b7729378d646e287ac4f84072f937bda4afba4 | |
parent | a0e457ae18624cc1bf0e48ec5060aec98fd94764 (diff) | |
download | ceph-0d46dc4646b1da7e4ca58a9580f7123b961f9019.tar.gz |
mon: make 'osd crush link ...' idempotent
We fixed move in f5ba0fbbe73e11418634bc95e1fc36d17edccf37 but missed this
one.
Signed-off-by: Sage Weil <sage@inktank.com>
-rw-r--r-- | src/mon/OSDMonitor.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mon/OSDMonitor.cc b/src/mon/OSDMonitor.cc index 40103ec402f..ec15d0abd28 100644 --- a/src/mon/OSDMonitor.cc +++ b/src/mon/OSDMonitor.cc @@ -2691,7 +2691,8 @@ bool OSDMonitor::prepare_command(MMonCommand *m) return true; } } else { - ss << "no need to move item id " << id << " name '" << name << "' to location " << loc << " in crush map"; + ss << "no need to move item id " << id << " name '" << name << "' to location " << loc << " in crush map"; + err = 0; } } while (false); } |