fix(region): server eip bgp type

This commit is contained in:
ioito
2023-07-14 19:12:33 +08:00
parent f4e8f5eb13
commit e28a60e616
+1
View File
@@ -1595,6 +1595,7 @@ func (manager *SElasticipManager) NewEipForVMOnHost(ctx context.Context, userCre
// eip.AutoDellocate = tristate.True
eip.Bandwidth = bw
eip.ChargeType = chargeType
eip.BgpType = args.BgpType
eip.AutoDellocate = tristate.NewFromBool(autoDellocate)
ownerCred := userCred.(mcclient.IIdentityProvider)
if vm != nil {