]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cephadm: dont set ctx.image if json deploy image is unset
authorJohn Mulligan <jmulligan@redhat.com>
Mon, 19 Jun 2023 16:54:24 +0000 (12:54 -0400)
committerAdam King <adking@redhat.com>
Thu, 31 Aug 2023 17:35:15 +0000 (13:35 -0400)
commit07fcd64eb8dace69b87b63fcf6356d7e49cc1d0d
tree423ad36c9645831062de39a21aa5c6d72ee8d8e2
parentd6d130d2b42d978cb2112da3d40fa6982e5471da
cephadm: dont set ctx.image if json deploy image is unset

If no image has been provided in the "deploy from" json do not set
ctx.image to it (empty-string or None) as we may have had a valid
value passed on the --image CLI option.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/cephadm/cephadm.py