Skip to content

Commit

Permalink
++
Browse files Browse the repository at this point in the history
  • Loading branch information
yalosev committed Jul 9, 2024
1 parent 195abc9 commit 728aed1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/module_manager/scheduler/extenders/error/permanent.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ func (e *PermanentError) Unwrap() error {

// Permanent wraps the given err in a *PermanentError.
func Permanent(err error) *PermanentError {
if err == nil {
return nil
}
return &PermanentError{
Err: err,
}
Expand Down

0 comments on commit 728aed1

Please sign in to comment.