From 029e936bcbba5bba106939280f88ab4587518a3b Mon Sep 17 00:00:00 2001 From: Jeff Ortel Date: Mon, 29 Jul 2024 14:03:20 -0700 Subject: [PATCH] checkpoint Signed-off-by: Jeff Ortel --- task/error.go | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/task/error.go b/task/error.go index 2b840ae3d..5063de5d1 100644 --- a/task/error.go +++ b/task/error.go @@ -327,23 +327,3 @@ func (e *QuotaExceeded) Retry() (r bool) { r = true return } - -// NotTerminated report pod/container not terminated. -type NotTerminated struct { - Kind string - Name string -} - -func (e *NotTerminated) Error() string { - return fmt.Sprintf("%s: '%s' not terminated as expected.", e.Kind, e.Name) -} - -func (e *NotTerminated) Is(err error) (matched bool) { - var inst *NotTerminated - matched = errors.As(err, &inst) - return -} - -func (e *NotTerminated) Retry() (r bool) { - return -}