Clean up error
This commit is contained in:
@@ -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")
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user