storage/graph
Aaron Lehmann 80513d85cf Change poolAdd to return a boolean instead of an error
Previously, its other return value was used even when it returned an
error. This is awkward and goes against the convention. It also could
have resulted in a nil pointer dereference when an error was returned
because of an unknown pool type. This changes the unknown pool type
error to a panic (since the pool types are hardcoded at call sites and
must always be "push" or "pull"), and returns a "found" boolean instead
of an error.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2015-08-27 11:18:42 -07:00
..
tags /graph/tag fix lint errors/warnings 2015-08-05 17:46:41 +00:00
export.go change exportImage to top-level func 2015-08-10 22:18:57 +08:00
graph.go Avoid buffering to tempfile when pushing with V2 2015-08-24 18:08:05 -07:00
graph_test.go Replace GenerateRandomID with GenerateNonCryptoID 2015-07-28 22:31:01 -07:00
history.go Documentation improvements and code cleanups for graph package 2015-07-30 14:27:10 -07:00
import.go adding message option to the import subcommand 2015-08-25 02:55:04 +00:00
list.go Fix #8048 : make `docker images repository:tag` work 2015-08-13 08:50:09 +02:00
load.go Change poolAdd to return a boolean instead of an error 2015-08-27 11:18:42 -07:00
load_unsupported.go /graph fix lin errors/warnings 2015-07-29 20:59:36 +00:00
mutex.go Attempt to protect on disk image store with mutex 2015-06-25 20:16:37 -07:00
pools_test.go Change poolAdd to return a boolean instead of an error 2015-08-27 11:18:42 -07:00
pull.go registry: Do not push to mirrors 2015-08-06 17:41:59 -04:00
pull_v1.go Change poolAdd to return a boolean instead of an error 2015-08-27 11:18:42 -07:00
pull_v2.go Change poolAdd to return a boolean instead of an error 2015-08-27 11:18:42 -07:00
push.go Revert #14884 2015-08-12 18:46:48 -07:00
push_v1.go Change poolAdd to return a boolean instead of an error 2015-08-27 11:18:42 -07:00
push_v2.go Change poolAdd to return a boolean instead of an error 2015-08-27 11:18:42 -07:00
registry.go Documentation improvements and code cleanups for graph package 2015-07-30 14:27:10 -07:00
service.go fix golint warnings/errors on package api/types/ 2015-08-07 09:43:43 +08:00
tags.go Change poolAdd to return a boolean instead of an error 2015-08-27 11:18:42 -07:00
tags_unit_test.go Documentation improvements and code cleanups for graph package 2015-07-30 14:27:10 -07:00