]> git.apps.os.sepia.ceph.com Git - ceph.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)
committerJohn Mulligan <jmulligan@redhat.com>
Thu, 15 Jun 2023 20:35:34 +0000 (16:35 -0400)
commit885d820d80a962e24e9aab02d80ec96baa6717bd
treeaa990c9dc15f2d4abaf3cc0803ec20b45c712bf2
parent0ac4fe0624d1b7a03f0c06ad2af2999ebadfc8fb
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