]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osdmaptool: require --upmap-save before modifying input osdmap 15247/head
authorSage Weil <sage@redhat.com>
Tue, 23 May 2017 21:56:14 +0000 (17:56 -0400)
committerSage Weil <sage@redhat.com>
Tue, 23 May 2017 21:56:14 +0000 (17:56 -0400)
commite03edc587d5449d2473ca7f2c8e8e0e8997c81d4
treede460c656a282438226810a7ed2d14761c3ac72c
parent9f8f0d75e84106849740853d83d5d245c6e41cfe
osdmaptool: require --upmap-save before modifying input osdmap

IMO it is dangerous to modify the provided osdmap in this case unless the
user explicitly asks for it.  This was super annoying while I was testing
this code.

Signed-off-by: Sage Weil <sage@redhat.com>
src/test/cli/osdmaptool/help.t
src/test/cli/osdmaptool/missing-argument.t
src/test/cli/osdmaptool/upmap.t
src/tools/osdmaptool.cc