]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cephadm: move init container script generation to a function
authorJohn Mulligan <jmulligan@redhat.com>
Tue, 5 Dec 2023 21:20:57 +0000 (16:20 -0500)
committerJohn Mulligan <jmulligan@redhat.com>
Tue, 2 Jan 2024 14:30:21 +0000 (09:30 -0500)
commit57540a28c5c83140c2429f1e94fbaeee06d80f64
tree479d07780478d08a70910d3a511fe126db6be8ef
parent08e7a56ead5d3a241cd626d0436dff24867d3445
cephadm: move init container script generation to a function

Move the generation of the init container run script to a small function
fixing a missing `set -e` along the way. This isolates the logic of
generating this run script.

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