update doc string
Signed-off-by: Brian Goff <cpuguy83@gmail.com> Upstream-commit: 9c09a79ba54080873b435842fb2a4aaa3b701a9c Component: engine
This commit is contained in:
@@ -1013,8 +1013,8 @@ func (daemon *Daemon) changes(container *container.Container) ([]archive.Change,
|
||||
return container.RWLayer.Changes()
|
||||
}
|
||||
|
||||
// TagImage creates a tag in the repository and with the name specified by newTag,
|
||||
// pointing to the image named imageName (alternatively, imageName can also be an image ID).
|
||||
// TagImage creates the tag specified by newTag, pointing to the image named
|
||||
// imageName (alternatively, imageName can also be an image ID).
|
||||
func (daemon *Daemon) TagImage(newTag reference.Named, imageName string) error {
|
||||
imageID, err := daemon.GetImageID(imageName)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user