fix calc ipv6num use ipv4 slice (#838)
Co-authored-by: Charlie Stanley <charlie.stanley@microsoft.com>
This commit is contained in:
parent
c314444b53
commit
8ea1f1bb44
|
@ -347,7 +347,7 @@ func (m *resolver) refreshAllApps(ctx context.Context) error {
|
|||
m.ipv4Mu.RUnlock()
|
||||
|
||||
m.ipv6Mu.RLock()
|
||||
numAppIPv6Addr := len(m.appAddressesIPv4)
|
||||
numAppIPv6Addr := len(m.appAddressesIPv6)
|
||||
m.ipv6Mu.RUnlock()
|
||||
|
||||
numApps := numAppIPv4Addr + numAppIPv6Addr
|
||||
|
|
Loading…
Reference in New Issue