mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
images: Pass context to commit related operations
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
This commit is contained in:
committed by
Paweł Gronowski
parent
868c897ad7
commit
9b5c21309b
@@ -155,7 +155,7 @@ func (daemon *Daemon) CreateImageFromContainer(ctx context.Context, name string,
|
||||
return "", err
|
||||
}
|
||||
|
||||
id, err := daemon.imageService.CommitImage(backend.CommitConfig{
|
||||
id, err := daemon.imageService.CommitImage(ctx, backend.CommitConfig{
|
||||
Author: c.Author,
|
||||
Comment: c.Comment,
|
||||
Config: newConfig,
|
||||
|
||||
Reference in New Issue
Block a user