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

@@ -464,7 +464,7 @@ func (s *Service) writeContent(ctx context.Context, mediaType, ref string, r io.
if err != nil {
return nil, err
}
if err := writer.Commit(0, ""); err != nil {
if err := writer.Commit(ctx, 0, ""); err != nil {
return nil, err
}
return &types.Descriptor{