summaryrefslogtreecommitdiff
path: root/pkg/specgen/generate
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-03-29 17:14:26 +0000
committerGitHub <noreply@github.com>2021-03-29 17:14:26 +0000
commit26b0ebd22f0a516eae9daf2439697f1f793894cc (patch)
treeee369f8ec30af3b74d29787e43799b2fb7eed8f9 /pkg/specgen/generate
parentb7bb8a1fb942a0568a1ff257798702bd0cde5d37 (diff)
parent127400880a1a3d53d4d4eb454cc9f35ddc89e79a (diff)
downloadpodman-26b0ebd22f0a516eae9daf2439697f1f793894cc.tar.gz
podman-26b0ebd22f0a516eae9daf2439697f1f793894cc.tar.bz2
podman-26b0ebd22f0a516eae9daf2439697f1f793894cc.zip
Merge pull request #9516 from rhatdan/shrink
[NO TESTS NEEDED] Shrink the size of podman bindings
Diffstat (limited to 'pkg/specgen/generate')
-rw-r--r--pkg/specgen/generate/container_create.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/specgen/generate/container_create.go b/pkg/specgen/generate/container_create.go
index 03697b353..1d724ffb0 100644
--- a/pkg/specgen/generate/container_create.go
+++ b/pkg/specgen/generate/container_create.go
@@ -11,7 +11,7 @@ import (
"github.com/containers/podman/v3/libpod/image"
"github.com/containers/podman/v3/pkg/specgen"
"github.com/containers/podman/v3/pkg/util"
- "github.com/containers/storage"
+ "github.com/containers/storage/types"
"github.com/opencontainers/selinux/go-selinux/label"
"github.com/pkg/errors"
"github.com/sirupsen/logrus"
@@ -367,7 +367,7 @@ func createContainerOptions(ctx context.Context, rt *libpod.Runtime, s *specgen.
return options, nil
}
-func CreateExitCommandArgs(storageConfig storage.StoreOptions, config *config.Config, syslog, rm, exec bool) ([]string, error) {
+func CreateExitCommandArgs(storageConfig types.StoreOptions, config *config.Config, syslog, rm, exec bool) ([]string, error) {
// We need a cleanup process for containers in the current model.
// But we can't assume that the caller is Podman - it could be another
// user of the API.