Merge pull request #3497 from ethan-daocloud/patch-1
pusher.go: error message typo correction
This commit is contained in:
commit
d0f4cf0bde
@ -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 == "" {
|
||||
|
Loading…
Reference in New Issue
Block a user