code: func (g *Cloud) getInstanceByName(name string) (*gceInstance, error) {
  	// Avoid changing behaviour when not managing multiple zones
  	for _, zone := range g.managedZones {
  		instance, err := g.getInstanceFromProjectInZoneByName(g.projectID, zone, name)
  		if err != nil {
  			if isHTTPErrorCode(err, http.StatusNotFound) {
  				continue
  			}
  			klog.Errorf("getInstanceByName: failed to get instance %s in zone %s; err: %v", name, zone, err)
  			return nil, err
  		}
  		return instance, nil
  	}
  
  	return nil, cloudprovider.InstanceNotFound
  }
docs: // Gets the named instance, returning cloudprovider.InstanceNotFound if the instance is not found