Clean up error

This commit is contained in:
Dr. Stefan Schimanski 2015-11-10 15:15:57 +01:00
parent f8ee091bde
commit d7964de230

View File

@ -18,12 +18,11 @@ package errors
import (
"errors"
"fmt"
)
var (
NoSuchPodErr = errors.New("No such pod 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")
)