~juju-qa/ubuntu/xenial/juju/2.0-rc2

« back to all changes in this revision

Viewing changes to src/github.com/juju/juju/cmd/juju/cachedimages/list.go

  • Committer: Nicholas Skaggs
  • Date: 2016-09-30 14:39:30 UTC
  • mfrom: (1.8.1)
  • Revision ID: nicholas.skaggs@canonical.com-20160930143930-vwwhrefh6ftckccy
import upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
119
119
        }
120
120
        imageInfo := c.imageMetadataToImageInfo(results)
121
121
        if len(imageInfo) == 0 {
122
 
                fmt.Fprintf(ctx.Stdout, "no matching images found\n")
 
122
                ctx.Infof("No images to display.")
123
123
                return nil
124
124
        }
125
125
        fmt.Fprintf(ctx.Stdout, "Cached images:\n")