]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cephadm:Fix name argument parsing during image check for non-ceph components
authorDaniel-Pivonka <dpivonka@redhat.com>
Thu, 6 Feb 2020 20:47:26 +0000 (15:47 -0500)
committerDaniel-Pivonka <dpivonka@redhat.com>
Thu, 6 Feb 2020 20:47:26 +0000 (15:47 -0500)
commit810b96c910b51b3691c535fa29c0f5d41f4f2dd1
tree9d17e86726a78fc1e4b60f2fab238233cc698a68
parent0eef82165b4ad6a1d90dceb6b6f3efdd3ef8f4d2
cephadm:Fix name argument parsing during image check for non-ceph components

bug in parsing introduced in 97def7c
args.name may exist but will be none if flag is not used
check the value in addition to checking if it exists

Signed-off-by: Daniel-Pivonka <dpivonka@redhat.com>
src/cephadm/cephadm