Skip to content

Commit

Permalink
checkpoint
Browse files Browse the repository at this point in the history
Signed-off-by: Jeff Ortel <jortel@redhat.com>
  • Loading branch information
jortel committed Aug 15, 2024
1 parent a1aa801 commit 029e936
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions task/error.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 029e936

Please # to comment.