From 5bcf3accccd3150250c7d617f13b3470d0d9da4d Mon Sep 17 00:00:00 2001 From: ioito Date: Wed, 19 Jan 2022 10:57:43 +0800 Subject: [PATCH] fix(region): vpc tag sync --- pkg/compute/models/vpcs.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkg/compute/models/vpcs.go b/pkg/compute/models/vpcs.go index 360142d3ca..ad03c2f1e4 100644 --- a/pkg/compute/models/vpcs.go +++ b/pkg/compute/models/vpcs.go @@ -476,7 +476,6 @@ func (manager *SVpcManager) SyncVPCs(ctx context.Context, userCred mcclient.Toke syncResult.UpdateError(err) continue } - syncMetadata(ctx, userCred, &commondb[i], commonext[i]) localVPCs = append(localVPCs, commondb[i]) remoteVPCs = append(remoteVPCs, commonext[i]) syncResult.Update() @@ -487,7 +486,6 @@ func (manager *SVpcManager) SyncVPCs(ctx context.Context, userCred mcclient.Toke syncResult.AddError(err) continue } - syncMetadata(ctx, userCred, newVpc, added[i]) localVPCs = append(localVPCs, *newVpc) remoteVPCs = append(remoteVPCs, added[i]) syncResult.Add()