summaryrefslogtreecommitdiff
path: root/pkg/specgen
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-03-25 11:44:00 -0700
committerGitHub <noreply@github.com>2021-03-25 11:44:00 -0700
commit8eb36320ca321ba514b5388cfdb11595e61a7d49 (patch)
treef35cbe3c2bfa3a4e62bf4558342140fb4d464628 /pkg/specgen
parent029659ac159be8523e5de3eab0e76b9fbc9eeefd (diff)
parentf5e2c5367846a80cef8dcbbb756980843024ae9a (diff)
downloadpodman-8eb36320ca321ba514b5388cfdb11595e61a7d49.tar.gz
podman-8eb36320ca321ba514b5388cfdb11595e61a7d49.tar.bz2
podman-8eb36320ca321ba514b5388cfdb11595e61a7d49.zip
Merge pull request #9816 from jwhonce/wip/namespace
Correct json encoding field name for Namespace type
Diffstat (limited to 'pkg/specgen')
-rw-r--r--pkg/specgen/namespaces.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/specgen/namespaces.go b/pkg/specgen/namespaces.go
index fb7d65da4..f665fc0be 100644
--- a/pkg/specgen/namespaces.go
+++ b/pkg/specgen/namespaces.go
@@ -54,7 +54,7 @@ const (
// Namespace describes the namespace
type Namespace struct {
NSMode NamespaceMode `json:"nsmode,omitempty"`
- Value string `json:"string,omitempty"`
+ Value string `json:"value,omitempty"`
}
// IsDefault returns whether the namespace is set to the default setting (which