pusher.go: error message typo correction

Signed-off-by: Guangming Wang <guangming.wang@daocloud.io>
This commit is contained in:
ethan 2019-08-06 21:46:27 +08:00 committed by Guangming Wang
parent 03d934adc4
commit 0a3769eec6

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 == "" {