aboutsummaryrefslogtreecommitdiff
path: root/pkg/specgen/specgen.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2021-03-29 09:49:38 -0400
committerMatthew Heon <mheon@redhat.com>2021-04-16 14:00:14 -0400
commit32f61dbf73538ea97a0cdabb6593c5a2b96f7171 (patch)
treea85a7d87a11e5bb8615850bd853b88f332fed92b /pkg/specgen/specgen.go
parentc8130be174e0f5209661ab454bee37a3765d1b04 (diff)
downloadpodman-32f61dbf73538ea97a0cdabb6593c5a2b96f7171.tar.gz
podman-32f61dbf73538ea97a0cdabb6593c5a2b96f7171.tar.bz2
podman-32f61dbf73538ea97a0cdabb6593c5a2b96f7171.zip
[NO TESTS NEEDED] Shrink the size of podman-remote
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'pkg/specgen/specgen.go')
-rw-r--r--pkg/specgen/specgen.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/specgen/specgen.go b/pkg/specgen/specgen.go
index 732579bf0..c10dc5ef5 100644
--- a/pkg/specgen/specgen.go
+++ b/pkg/specgen/specgen.go
@@ -5,7 +5,7 @@ import (
"syscall"
"github.com/containers/image/v5/manifest"
- "github.com/containers/storage"
+ "github.com/containers/storage/types"
spec "github.com/opencontainers/runtime-spec/specs-go"
"github.com/pkg/errors"
)
@@ -302,7 +302,7 @@ type ContainerSecurityConfig struct {
// IDMappings are UID and GID mappings that will be used by user
// namespaces.
// Required if UserNS is private.
- IDMappings *storage.IDMappingOptions `json:"idmappings,omitempty"`
+ IDMappings *types.IDMappingOptions `json:"idmappings,omitempty"`
// ReadOnlyFilesystem indicates that everything will be mounted
// as read-only
ReadOnlyFilesystem bool `json:"read_only_filesystem,omitempty"`