From d560f168f60ecdb25165332a871d4ff352cd5e00 Mon Sep 17 00:00:00 2001 From: Jhon Honce Date: Thu, 25 Mar 2021 07:51:16 -0700 Subject: [PATCH] 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 --- pkg/specgen/namespaces.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/specgen/namespaces.go b/pkg/specgen/namespaces.go index fb7d65da4a..f665fc0be1 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