]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cephadm: refactor _write_container_cmd_to_bash function
authorJohn Mulligan <jmulligan@redhat.com>
Tue, 6 Jun 2023 20:48:00 +0000 (16:48 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Wed, 9 Aug 2023 17:48:07 +0000 (13:48 -0400)
commitc6c0e51145e3039ad687d5501bea6c1f2bbcc201
tree30e3d8c5e8b41ef0e89e8acbf39cb7b858c8f4ba
parent25feb0c4845cbdbd93c1cc4ea020841d88d87dfa
cephadm: refactor _write_container_cmd_to_bash function

Refactor the _write_container_cmd_to_bash such that it now uses a
new _bash_cmd helper function and tries to avoid non-DRY repetition
of the same pattern of shell command expression.

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