Merge pull request #3497 from ethan-daocloud/patch-1

pusher.go: error message typo correction
This commit is contained in:
Akihiro Suda 2019-08-07 13:08:36 +09:00 committed by GitHub
commit d0f4cf0bde
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -353,7 +353,7 @@ func (pw *pushWriter) Commit(ctx context.Context, size int64, expected digest.Di
}
if size > 0 && size != status.Offset {
return errors.Errorf("unxpected size %d, expected %d", status.Offset, size)
return errors.Errorf("unexpected size %d, expected %d", status.Offset, size)
}
if expected == "" {