mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-05-31 04:50:10 +08:00
gcp lb sync address bugfix
This commit is contained in:
@@ -1177,6 +1177,7 @@ func (lb *SLoadbalancer) SyncWithCloudLoadbalancer(ctx context.Context, userCred
|
||||
|
||||
diff, err := db.Update(lb, func() error {
|
||||
lb.Address = extLb.GetAddress()
|
||||
lb.AddressType = extLb.GetAddressType()
|
||||
lb.Status = extLb.GetStatus()
|
||||
// lb.Name = extLb.GetName()
|
||||
lb.LoadbalancerSpec = extLb.GetLoadbalancerSpec()
|
||||
|
||||
Reference in New Issue
Block a user