func (c *Client) GetInstanceIPAddresses(d *openstack.Driver) ([]openstack.IPAddress, error) {
	server, err := c.GetServerDetail(d)
	if err != nil {
		return nil, err
	}
	return []openstack.IPAddress{
		{
			Network:     "public",
			Address:     server.AccessIPv4,
			AddressType: openstack.Fixed,
		},
	}, nil
}
func (c *Client) GetInstanceIPAddresses(d *openstack.Driver) ([]openstack.IPAddress, error) {
	server, err := c.GetServerDetail(d)
	if err != nil {
		return nil, err
	}
	return []openstack.IPAddress{
		{
			Network:     "public",
			Address:     server.AccessIPv4,
			AddressType: openstack.Fixed,
		},
	}, nil
}
func ( c * Client ) GetInstanceIPAddresses ( d * openstack . Driver ) ( [ ] openstack . IPAddress , error ) { server , err := c . GetServerDetail ( d ) if err != nil { return nil , err } return [ ] openstack . IPAddress { { Network : " " , Address : server . AccessIPv4 , AddressType : openstack . Fixed , } , } , nil }
// GetInstanceIPAddresses can be short-circuited with the server's AccessIPv4Addr on Rackspace.
GetInstanceIPAddresses can be short - circuited with the server s AccessIPv4Addr on Rackspace .