]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/cephadm: allow passing a list as a compound command to _run_cephadm
authorJohn Mulligan <jmulligan@redhat.com>
Wed, 24 May 2023 18:11:52 +0000 (14:11 -0400)
committerAdam King <adking@redhat.com>
Thu, 31 Aug 2023 17:35:14 +0000 (13:35 -0400)
commit6f12ddbb40d9ef5d57407390302af4d566a619d9
tree73dcdd9eac30f1279af27e98f06a1a95b8e49831
parentcd041daa822c2aedfc35415632b24ac5a20bbce6
mgr/cephadm: allow passing a list as a compound command to _run_cephadm

As we're adding "namespaces" to the cephadm command it's easier to work
with a compound list of terms as the command. This also avoids an issue
where the function call injects args between the command and the "args"
passed to _run_cephadm.

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