mirror of
https://github.com/rancher/k3k.git
synced 2026-08-23 22:36:17 +00:00
remove some unused code and additional updates
Signed-off-by: Brian Downs <brian.downs@gmail.com>
This commit is contained in:
@@ -35,7 +35,8 @@ func nodeAddress(node *v1.Node) string {
|
||||
if ip.Type == "ExternalIP" && ip.Address != "" {
|
||||
externalIP = ip.Address
|
||||
break
|
||||
} else if ip.Type == "InternalIP" && ip.Address != "" {
|
||||
}
|
||||
if ip.Type == "InternalIP" && ip.Address != "" {
|
||||
internalIP = ip.Address
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user