seaweedfs-operator/controllers/helper.go
2020-10-14 21:45:53 -07:00

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
}