When this function was refactored two variants were created:
get_container_mounts_for_type and _get_container_mounts_for_type. The
latter doesn't append podman specific mounts so that it can be called
from other functions that do append podman specific mounts.
Unfortunately, I didn't call the correct function from
get_container_mounts and therefore it was redundantly doing the podman
mounts update. This corrects that error.
Signed-off-by: John Mulligan <jmulligan@redhat.com>
"""
# unpack fsid and daemon_type from ident because they're used very frequently
fsid, daemon_type = ident.fsid, ident.daemon_type
- mounts = get_container_mounts_for_type(ctx, fsid, daemon_type)
+ mounts = _get_container_mounts_for_type(ctx, fsid, daemon_type)
assert ident.fsid
assert ident.daemon_id