Skip to content

Commit 9564d8f

Browse files
committed
Fix Cancelled interface typo
The function for the interface should be `Cancelled` not `ErrCancelled`. Signed-off-by: Derek McGowan <[email protected]>
1 parent 2dc9c17 commit 9564d8f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

errors.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ var (
5555

5656
// cancelled maps to Moby's "ErrCancelled"
5757
type cancelled interface {
58-
ErrCancelled()
58+
Cancelled()
5959
}
6060

6161
// IsCanceled returns true if the error is due to `context.Canceled`.

0 commit comments

Comments
 (0)