Merge pull request #1475 from dmcgowan/content-commit-context

Add context to content commit
This commit is contained in:
Kenfe-Mickaël Laventure
2017-09-06 11:04:31 -07:00
committed by GitHub
16 changed files with 28 additions and 26 deletions

View File

@@ -535,7 +535,7 @@ func writeContent(ctx context.Context, store content.Store, mediaType, ref strin
if err != nil {
return d, err
}
if err := writer.Commit(size, ""); err != nil {
if err := writer.Commit(ctx, size, ""); err != nil {
return d, err
}
return v1.Descriptor{