mirror of https://github.com/docker/docs.git
add default AddressType: Fixed
Signed-off-by: Christian Mouttet <cmouttet@gmail.com>
This commit is contained in:
parent
6a5219b879
commit
e256702c8c
|
@ -171,9 +171,10 @@ func (c *GenericClient) GetInstanceIpAddresses(d *Driver) ([]IpAddress, error) {
|
|||
}
|
||||
|
||||
addr := IpAddress{
|
||||
Network: network,
|
||||
Address: address["addr"].(string),
|
||||
Version: int(version),
|
||||
Network: network,
|
||||
AddressType: Fixed,
|
||||
Address: address["addr"].(string),
|
||||
Version: int(version),
|
||||
}
|
||||
|
||||
if tp, ok := address["OS-EXT-IPS:type"]; ok {
|
||||
|
|
Loading…
Reference in New Issue