]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon: allow keys to be cleared in ceph osd crush set ... loc key/values
authorSage Weil <sage@inktank.com>
Mon, 11 Jun 2012 22:21:11 +0000 (15:21 -0700)
committerSage Weil <sage@inktank.com>
Mon, 11 Jun 2012 22:22:35 +0000 (15:22 -0700)
commit8eb5c9b8391508d743dd18227d6267fcfdbec3a9
treea282aaf94bf599973233d3adfae36fca6f38a404
parent5959798b25570303f98647ac123699735c7bfb33
mon: allow keys to be cleared in ceph osd crush set ... loc key/values

If we encounter a 'key=' with no value, clear any previous value for that
key, so that

 'a=foo b=bar a='

is equivalent to

 'b=bar'

Fixes: #2540
Signed-off-by: Sage Weil <sage@inktank.com>
src/mon/OSDMonitor.cc