Skip to content

Commit

Permalink
slove ips repeated question
Browse files Browse the repository at this point in the history
  • Loading branch information
luhaopei committed Jan 27, 2021
1 parent 812c608 commit 5f51ceb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/yurttunnel/server/serveraddr/addr.go
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,6 @@ func getClusterIPDNSandIP(svc *corev1.Service) ([]string, []net.IP, error) {
constants.YurttunnelServerExternalAddrKey, host, constants.YurttunnelServerServiceName)
dnsNames = append(dnsNames, host)
}
ips = append(ips, ip)
}

return dnsNames, ips, nil
Expand Down

0 comments on commit 5f51ceb

Please sign in to comment.