diff --git a/errors.go b/errors.go index 69525e5..c757810 100644 --- a/errors.go +++ b/errors.go @@ -55,7 +55,7 @@ var ( // cancelled maps to Moby's "ErrCancelled" type cancelled interface { - ErrCancelled() + Cancelled() } // IsCanceled returns true if the error is due to `context.Canceled`.