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:
Jhon Honce
2021-03-25 07:51:16 -07:00
parent 896ea085b1
commit f5e2c53678

View File

@ -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