mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-21 14:19:49 +08:00
fix(vpcagent): ovn: stable dns A record value
This commit is contained in:
@@ -664,6 +664,7 @@ func (keeper *OVNNorthboundKeeper) ClaimVpcGuestDnsRecords(ctx context.Context,
|
||||
ocVersion = fmt.Sprintf("%s.%d", vpc.Id, vpc.UpdateVersion)
|
||||
)
|
||||
for name, addrs := range grs {
|
||||
sort.Strings(addrs)
|
||||
grs_[name] = strings.Join(addrs, " ")
|
||||
}
|
||||
dns := &ovn_nb.DNS{
|
||||
|
||||
Reference in New Issue
Block a user