diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-04-01 09:51:23 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-01 09:51:23 -0400 |
commit | 23e57575b0a402d7f7de9d20571776d0512fd489 (patch) | |
tree | 15e4759aa0305b4cecd9d20eeeaafbc5955eb9cf /libpod/container_internal.go | |
parent | 59fcf0e39d91e00d8385ffda3a09c32a1464c117 (diff) | |
parent | 7a5342804944472246ed0b977e9088e0b01be87b (diff) | |
download | podman-23e57575b0a402d7f7de9d20571776d0512fd489.tar.gz podman-23e57575b0a402d7f7de9d20571776d0512fd489.tar.bz2 podman-23e57575b0a402d7f7de9d20571776d0512fd489.zip |
Merge pull request #13594 from cdoern/podVolumes
fix pod volume passing and alter infra inheritance
Diffstat (limited to 'libpod/container_internal.go')
-rw-r--r-- | libpod/container_internal.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libpod/container_internal.go b/libpod/container_internal.go index 0db59f2fe..f1f467879 100644 --- a/libpod/container_internal.go +++ b/libpod/container_internal.go @@ -2235,9 +2235,9 @@ func (c *Container) prepareCheckpointExport() error { return nil } -// sortUserVolumes sorts the volumes specified for a container +// SortUserVolumes sorts the volumes specified for a container // between named and normal volumes -func (c *Container) sortUserVolumes(ctrSpec *spec.Spec) ([]*ContainerNamedVolume, []spec.Mount) { +func (c *Container) SortUserVolumes(ctrSpec *spec.Spec) ([]*ContainerNamedVolume, []spec.Mount) { namedUserVolumes := []*ContainerNamedVolume{} userMounts := []spec.Mount{} |