summaryrefslogtreecommitdiff
path: root/pkg/domain/infra/abi
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-04-01 09:51:23 -0400
committerGitHub <noreply@github.com>2022-04-01 09:51:23 -0400
commit23e57575b0a402d7f7de9d20571776d0512fd489 (patch)
tree15e4759aa0305b4cecd9d20eeeaafbc5955eb9cf /pkg/domain/infra/abi
parent59fcf0e39d91e00d8385ffda3a09c32a1464c117 (diff)
parent7a5342804944472246ed0b977e9088e0b01be87b (diff)
downloadpodman-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 'pkg/domain/infra/abi')
-rw-r--r--pkg/domain/infra/abi/containers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/domain/infra/abi/containers.go b/pkg/domain/infra/abi/containers.go
index f45bdeba5..a2933a267 100644
--- a/pkg/domain/infra/abi/containers.go
+++ b/pkg/domain/infra/abi/containers.go
@@ -1491,7 +1491,7 @@ func (ic *ContainerEngine) ContainerRename(ctx context.Context, nameOrID string,
func (ic *ContainerEngine) ContainerClone(ctx context.Context, ctrCloneOpts entities.ContainerCloneOptions) (*entities.ContainerCreateReport, error) {
spec := specgen.NewSpecGenerator(ctrCloneOpts.Image, ctrCloneOpts.CreateOpts.RootFS)
var c *libpod.Container
- c, err := generate.ConfigToSpec(ic.Libpod, spec, ctrCloneOpts.ID)
+ c, _, err := generate.ConfigToSpec(ic.Libpod, spec, ctrCloneOpts.ID)
if err != nil {
return nil, err
}