Merge pull request #9816 from jwhonce/wip/namespace

Correct json encoding field name for Namespace type
This commit is contained in:
OpenShift Merge Robot 2021-03-25 11:44:00 -07:00 committed by GitHub
commit 8eb36320ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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