mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 17:30:00 +00:00
Clean up error
This commit is contained in:
parent
f8ee091bde
commit
d7964de230
@ -18,12 +18,11 @@ package errors
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
NoSuchPodErr = errors.New("No such pod exists")
|
NoSuchPodErr = errors.New("No such pod exists")
|
||||||
NoSuchTaskErr = errors.New("No such task exists")
|
NoSuchTaskErr = errors.New("No such task exists")
|
||||||
ReconciliationCancelledErr = fmt.Errorf("explicit task reconciliation cancelled")
|
ReconciliationCancelledErr = errors.New("explicit task reconciliation cancelled")
|
||||||
NoSuitableOffersErr = errors.New("No suitable offers for pod/task")
|
NoSuitableOffersErr = errors.New("No suitable offers for pod/task")
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user