~jameinel/juju-core/api-registry-tracks-type

« back to all changes in this revision

Viewing changes to provider/azure/instancetype.go

  • Committer: Dimiter Naydenov
  • Date: 2014-04-14 12:36:13 UTC
  • mto: This revision was merged to the branch mainline in revision 2648.
  • Revision ID: dimiter.naydenov@canonical.com-20140414123613-tkl2sq5o4d60oe6w
All tests pass

Show diffs side-by-side

added added

removed removed

Lines of Context:
139
139
        }
140
140
        indexPath := simplestreams.DefaultIndexPath
141
141
        images, _, err := imagemetadata.Fetch(sources, indexPath, constraint, signedImageDataOnly)
142
 
        if len(images) == 0 || errors.IsNotFoundError(err) {
 
142
        if len(images) == 0 || errors.IsNotFound(err) {
143
143
                return nil, fmt.Errorf("no OS images found for location %q, series %q, architectures %q (and endpoint: %q)", location, series, arches, endpoint)
144
144
        } else if err != nil {
145
145
                return nil, err