daemon: Pass ctx to image tagging operations

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
This commit is contained in:
Nicolas De Loof
2022-07-11 10:58:39 +02:00
committed by Paweł Gronowski
parent b5568723ce
commit 7b6f71dced
9 changed files with 18 additions and 17 deletions

View File

@@ -171,7 +171,7 @@ func (daemon *Daemon) CreateImageFromContainer(ctx context.Context, name string,
var imageRef string
if c.Repo != "" {
imageRef, err = daemon.imageService.TagImage(string(id), c.Repo, c.Tag)
imageRef, err = daemon.imageService.TagImage(ctx, string(id), c.Repo, c.Tag)
if err != nil {
return "", err
}