From b81d367f95a4f58b4a7318e77bdcad575806ca06 Mon Sep 17 00:00:00 2001 From: Qiu Jian Date: Sun, 10 Dec 2023 12:16:52 +0800 Subject: [PATCH] fix: ignore vm virtual ip changes --- pkg/apis/compute/guestnetwork.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkg/apis/compute/guestnetwork.go b/pkg/apis/compute/guestnetwork.go index 7edbd608db..394982e1ee 100644 --- a/pkg/apis/compute/guestnetwork.go +++ b/pkg/apis/compute/guestnetwork.go @@ -114,6 +114,8 @@ type GuestnetworkBaseDesc struct { } `json:"vpc"` Networkaddresses jsonutils.JSONObject `json:"networkaddresses"` + + VirtualIps []string `json:"virtual_ips"` } type GuestnetworkJsonDesc struct { @@ -123,10 +125,9 @@ type GuestnetworkJsonDesc struct { NumQueues int `json:"num_queues"` Vectors *int `json:"vectors"` - VirtualIps []string `json:"virtual_ips"` - ExternalId string `json:"external_id"` - TeamWith string `json:"team_with"` - Manual *bool `json:"manual"` + ExternalId string `json:"external_id"` + TeamWith string `json:"team_with"` + Manual *bool `json:"manual"` UpscriptPath string `json:"upscript_path"` DownscriptPath string `json:"downscript_path"`