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 ( 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")
) )