From e44a77d475de4cff620a65f86d6d420657a8ae4b Mon Sep 17 00:00:00 2001 From: Brad Davidson Date: Tue, 16 Dec 2025 18:41:09 +0000 Subject: [PATCH] lint: nested-structs Signed-off-by: Brad Davidson --- pkg/executor/embed/embed_windows.go | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkg/executor/embed/embed_windows.go b/pkg/executor/embed/embed_windows.go index 30a8ec72d0c..bd75b940529 100644 --- a/pkg/executor/embed/embed_windows.go +++ b/pkg/executor/embed/embed_windows.go @@ -18,10 +18,12 @@ const ( networkName = "flannel.4096" ) +type IP4 struct { + IP string `json:"ip"` +} + type SourceVipResponse struct { - IP4 struct { - IP string `json:"ip"` - } `json:"ip4"` + IP4 IP4 `json:"ip4"` } func platformKubeProxyArgs(nodeConfig *daemonconfig.Node) map[string]string {