mirror of
https://github.com/rancher/types.git
synced 2025-09-25 12:21:24 +00:00
Mapper fixes
This commit is contained in:
@@ -14,7 +14,7 @@ func (n NodeAddressMapper) FromInternal(data map[string]interface{}) {
|
||||
t := address["type"]
|
||||
a := address["address"]
|
||||
if t == "InternalIP" {
|
||||
data["IpAddress"] = a
|
||||
data["ipAddress"] = a
|
||||
} else if t == "Hostname" {
|
||||
data["hostname"] = a
|
||||
}
|
||||
|
Reference in New Issue
Block a user