Skip to content

Commit

Permalink
Correct json field name
Browse files Browse the repository at this point in the history
[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 <[email protected]>
  • Loading branch information
jwhonce authored and mheon committed Mar 29, 2021
1 parent 573ed92 commit d560f16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/specgen/namespaces.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d560f16

Please sign in to comment.