runconfig: opts: parse: lowercase errors

also fix wrong function comment

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
Upstream-commit: d266142230bd041c8299eef329cf79a17f8f7478
Component: engine
This commit is contained in:
Antonio Murdaca
2016-02-18 09:26:47 +01:00
parent 28d01ce1bc
commit bc74abda34
4 changed files with 21 additions and 24 deletions

View File

@ -146,7 +146,7 @@ type Image interface {
// ImageCache abstracts an image cache store.
// (parent image, child runconfig) -> child image
type ImageCache interface {
// GetCachedImage returns a reference to a cached image whose parent equals `parent`
// GetCachedImageOnBuild returns a reference to a cached image whose parent equals `parent`
// and runconfig equals `cfg`. A cache miss is expected to return an empty ID and a nil error.
GetCachedImageOnBuild(parentID string, cfg *container.Config) (imageID string, err error)
}