From 5b5bacbd95fb4a87bdb294504621dba766aed626 Mon Sep 17 00:00:00 2001 From: Miloslav Trmač Date: Fri, 7 Feb 2020 02:32:01 +0100 Subject: Document an aspect of newFromStorage behavior MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Should not change behavior. Signed-off-by: Miloslav Trmač --- libpod/image/image.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libpod/image/image.go b/libpod/image/image.go index f6792eeac..ddde1c8da 100644 --- a/libpod/image/image.go +++ b/libpod/image/image.go @@ -120,7 +120,7 @@ func (ir *Runtime) newImage(inputName string, img *storage.Image) *Image { } } -// newFromStorage creates a new image object from a storage.Image +// newFromStorage creates a new image object from a storage.Image. Its "input name" will be its ID. func (ir *Runtime) newFromStorage(img *storage.Image) *Image { return ir.newImage(img.ID, img) } -- cgit v1.2.3-54-g00ecf