pusher.go: error message typo correction
Signed-off-by: Guangming Wang <guangming.wang@daocloud.io>
This commit is contained in:
parent
03d934adc4
commit
0a3769eec6
@ -353,7 +353,7 @@ func (pw *pushWriter) Commit(ctx context.Context, size int64, expected digest.Di
|
|||||||
}
|
}
|
||||||
|
|
||||||
if size > 0 && size != status.Offset {
|
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 == "" {
|
if expected == "" {
|
||||||
|
Loading…
Reference in New Issue
Block a user