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 {