summaryrefslogtreecommitdiff
path: root/pkg/specgen/container_validate.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-04-03 23:53:45 +0200
committerGitHub <noreply@github.com>2020-04-03 23:53:45 +0200
commitf7dffedeb610df662e69915fcff1bb37986baf55 (patch)
tree33ced51adee58d38b39416191e2e8a207ce4ec47 /pkg/specgen/container_validate.go
parent35f586783388cdff6b4f15e7aff4df1ee72d9b67 (diff)
parent6514a5c80ef91ef6e16e283339cd0b5f78a42322 (diff)
downloadpodman-f7dffedeb610df662e69915fcff1bb37986baf55.tar.gz
podman-f7dffedeb610df662e69915fcff1bb37986baf55.tar.bz2
podman-f7dffedeb610df662e69915fcff1bb37986baf55.zip
Merge pull request #5710 from baude/v2create
v2podman container create
Diffstat (limited to 'pkg/specgen/container_validate.go')
-rw-r--r--pkg/specgen/container_validate.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/specgen/container_validate.go b/pkg/specgen/container_validate.go
index b27659f5f..aad14ddcb 100644
--- a/pkg/specgen/container_validate.go
+++ b/pkg/specgen/container_validate.go
@@ -14,7 +14,7 @@ var (
// SystemDValues describes the only values that SystemD can be
SystemDValues = []string{"true", "false", "always"}
// ImageVolumeModeValues describes the only values that ImageVolumeMode can be
- ImageVolumeModeValues = []string{"ignore", "tmpfs", "anonymous"}
+ ImageVolumeModeValues = []string{"ignore", "tmpfs", "bind"}
)
func exclusiveOptions(opt1, opt2 string) error {
@@ -23,7 +23,7 @@ func exclusiveOptions(opt1, opt2 string) error {
// Validate verifies that the given SpecGenerator is valid and satisfies required
// input for creating a container.
-func (s *SpecGenerator) validate() error {
+func (s *SpecGenerator) Validate() error {
//
// ContainerBasicConfig