diff options
author | Jhon Honce <jhonce@redhat.com> | 2021-03-25 07:51:16 -0700 |
---|---|---|
committer | Matthew Heon <mheon@redhat.com> | 2021-03-29 11:58:52 -0400 |
commit | d560f168f60ecdb25165332a871d4ff352cd5e00 (patch) | |
tree | 6dc80ffbb864fe21dc206bf17754a86b588092b3 /pkg | |
parent | 573ed9220b9b295eacdd017dc87bbb592043cff4 (diff) | |
download | podman-d560f168f60ecdb25165332a871d4ff352cd5e00.tar.gz podman-d560f168f60ecdb25165332a871d4ff352cd5e00.tar.bz2 podman-d560f168f60ecdb25165332a871d4ff352cd5e00.zip |
Correct json field name
[NO TESTS NEEDED]
* When using the Namespace type, the field Value was json encoded
with the name "string" vs "value".
Signed-off-by: Jhon Honce <jhonce@redhat.com>
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/specgen/namespaces.go | 2 |
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 |