]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cephadm: fix container name detection 42736/head
authorSage Weil <sage@newdream.net>
Mon, 9 Aug 2021 18:15:28 +0000 (14:15 -0400)
committerSebastian Wagner <sewagner@redhat.com>
Tue, 10 Aug 2021 14:36:34 +0000 (16:36 +0200)
commit08a846636552b8aed23158329ee3ab0057787003
tree4c9c886b3122b52e88a8eeb418fe2e8dc0c84901
parent069962aa61596bf03271e754ff3153bb301e57f6
cephadm: fix container name detection

'enter' was broken because we weren't correctly identifying the container
name.  Strip the newline from the inspect result so that we can reliably
match against the 'running' state.

Signed-off-by: Sage Weil <sage@newdream.net>
(cherry picked from commit fb5e4b3740241d5c41b348e0fc5f59ebde5ee558)
src/cephadm/cephadm