update doc string

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
Upstream-commit: 9c09a79ba54080873b435842fb2a4aaa3b701a9c
Component: engine
This commit is contained in:
Brian Goff
2016-01-29 15:25:25 -05:00
parent caddcbad3d
commit b5c499b982
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -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 {