diff options
author | Jhon Honce <jhonce@redhat.com> | 2021-03-25 07:51:16 -0700 |
---|---|---|
committer | Jhon Honce <jhonce@redhat.com> | 2021-03-25 09:55:13 -0700 |
commit | f5e2c5367846a80cef8dcbbb756980843024ae9a (patch) | |
tree | 22bc64aa6cceb1403b49b0f9ea48065a6f8573ac /pkg/specgen | |
parent | 896ea085b1524750ce5ac4599dc3e2fd2972048c (diff) | |
download | podman-f5e2c5367846a80cef8dcbbb756980843024ae9a.tar.gz podman-f5e2c5367846a80cef8dcbbb756980843024ae9a.tar.bz2 podman-f5e2c5367846a80cef8dcbbb756980843024ae9a.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/specgen')
-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 |