mirror of
https://github.com/rancher/types.git
synced 2025-09-09 00:48:56 +00:00
ExternalIP to node
This commit is contained in:
committed by
Darren Shepherd
parent
0efe60ff1a
commit
a1a28ef8e8
@@ -15,6 +15,8 @@ func (n NodeAddressMapper) FromInternal(data map[string]interface{}) {
|
||||
a := address["address"]
|
||||
if t == "InternalIP" {
|
||||
data["ipAddress"] = a
|
||||
} else if t == "ExternalIP" {
|
||||
data["externalIpAddress"] = a
|
||||
} else if t == "Hostname" {
|
||||
data["hostname"] = a
|
||||
}
|
||||
|
Reference in New Issue
Block a user