11 lines
218 B
Go
11 lines
218 B
Go
package controllers
|
|
|
|
import ctrl "sigs.k8s.io/controller-runtime"
|
|
|
|
func ReconcileResult(err error) (bool, ctrl.Result, error) {
|
|
if err != nil {
|
|
return true, ctrl.Result{}, err
|
|
}
|
|
return false, ctrl.Result{}, nil
|
|
}
|