mirror of
https://github.com/containers/podman.git
synced 2025-10-19 20:23:08 +08:00
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>
This commit is contained in:
@ -54,7 +54,7 @@ const (
|
|||||||
// Namespace describes the namespace
|
// Namespace describes the namespace
|
||||||
type Namespace struct {
|
type Namespace struct {
|
||||||
NSMode NamespaceMode `json:"nsmode,omitempty"`
|
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
|
// IsDefault returns whether the namespace is set to the default setting (which
|
||||||
|
Reference in New Issue
Block a user