]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cephadm: always pass ctx to customize_container_{binds,mounts}
authorJohn Mulligan <jmulligan@redhat.com>
Sat, 4 Nov 2023 20:59:33 +0000 (16:59 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Thu, 9 Nov 2023 19:50:46 +0000 (14:50 -0500)
commit5c96c510db6b0abd4ec0f4b8325dd1732e9b4ce2
tree4d68b6342eb79cb6701b34022c06e365ba8a2904
parent8fc5d9ca237c80d8301b4ca1b5237ffa04c7c028
cephadm: always pass ctx to customize_container_{binds,mounts}

These functions often derive the binds and/or mounts from the context
variable. Thus we should have the base class method accept the context.
Not all subclassess will use it but it will be there for those that do.
Also, fix the type for customize_container_mounts - it should be a dict
not a list.

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