drivers/google/google.go
func (d *Driver) GetIP() (string, error) {
	c, err := newComputeUtil(d)
	if err != nil {
		return "", err
	}

	ip, err := c.ip()
	if err != nil {
		return "", err
	}
	if ip == "" {
		return "", drivers.ErrHostIsNotRunning
	}

	return ip, nil
}
func (d *Driver) GetIP() (string, error) {
	c, err := newComputeUtil(d)
	if err != nil {
		return "", err
	}

	ip, err := c.ip()
	if err != nil {
		return "", err
	}
	if ip == "" {
		return "", drivers.ErrHostIsNotRunning
	}

	return ip, nil
}
func ( d * Driver ) GetIP ( ) ( string , error ) { c , err := newComputeUtil ( d ) if err != nil { return " " , err } ip , err := c . ip ( ) if err != nil { return " " , err } if ip == " " { return " " , drivers . ErrHostIsNotRunning } return ip , nil }
// GetIP returns the IP address of the GCE instance.
GetIP returns the IP address of the GCE instance .