seaweedfs-operator/controllers/helper.go

11 lines
218 B
Go
Raw Normal View History

2020-10-15 04:45:53 +00:00
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
}