Skip to content

Commit

Permalink
Merge pull request #209 from BearLu/pr-onebug-to-openyurt
Browse files Browse the repository at this point in the history
slove ips repeated question from addr.go
  • Loading branch information
rambohe-ch authored Jan 29, 2021
2 parents 9ec75d1 + 5f51ceb commit 456c41b
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 456c41b

Please sign in to comment.