filters: don't encode empty set. API docs

Docker-DCO-1.1-Signed-off-by: Vincent Batts <vbatts@redhat.com> (github: vbatts)
This commit is contained in:
Vincent Batts
2014-06-03 12:19:26 -04:00
parent 3a4e3ca327
commit 02255ddaa4
3 changed files with 26 additions and 13 deletions
+1 -1
View File
@@ -712,7 +712,7 @@ func (srv *Server) Images(job *engine.Job) engine.Status {
}
}
if job.GetenvBool("all") && !filt_tagged {
if job.GetenvBool("all") && filt_tagged {
allImages, err = srv.daemon.Graph().Map()
} else {
allImages, err = srv.daemon.Graph().Heads()