]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cephadm: fix container name detection
authorSage Weil <sage@newdream.net>
Mon, 9 Aug 2021 18:15:28 +0000 (14:15 -0400)
committerSage Weil <sage@newdream.net>
Mon, 9 Aug 2021 18:15:28 +0000 (14:15 -0400)
commitfb5e4b3740241d5c41b348e0fc5f59ebde5ee558
tree12a46f2186b7143db94abf85f38d08c3d40148b7
parentca83705eabb9e9b05f9f1cf3fa39dceda21fd4f8
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>
src/cephadm/cephadm