Upgrade k8s package verison (#5358)
* upgrade k8s package version Signed-off-by: hongzhouzi <hongzhouzi@kubesphere.io> * Script upgrade and code formatting. Signed-off-by: hongzhouzi <hongzhouzi@kubesphere.io> Signed-off-by: hongzhouzi <hongzhouzi@kubesphere.io>
This commit is contained in:
@@ -136,7 +136,7 @@ func (r *ClusterRuleGroupReconciler) Reconcile(ctx context.Context, req reconcil
|
||||
}
|
||||
|
||||
func (r *ClusterRuleGroupReconciler) SetupWithManager(mgr ctrl.Manager) error {
|
||||
if r.Log == nil {
|
||||
if r.Log.GetSink() == nil {
|
||||
r.Log = mgr.GetLogger()
|
||||
}
|
||||
if r.Client == nil {
|
||||
|
||||
@@ -132,7 +132,7 @@ func (r *GlobalRuleGroupReconciler) Reconcile(ctx context.Context, req reconcile
|
||||
}
|
||||
|
||||
func (r *GlobalRuleGroupReconciler) SetupWithManager(mgr ctrl.Manager) error {
|
||||
if r.Log == nil {
|
||||
if r.Log.GetSink() == nil {
|
||||
r.Log = mgr.GetLogger()
|
||||
}
|
||||
if r.Client == nil {
|
||||
|
||||
@@ -165,7 +165,7 @@ func (r *RuleGroupReconciler) Reconcile(ctx context.Context, req reconcile.Reque
|
||||
}
|
||||
|
||||
func (r *RuleGroupReconciler) SetupWithManager(mgr ctrl.Manager) error {
|
||||
if r.Log == nil {
|
||||
if r.Log.GetSink() == nil {
|
||||
r.Log = mgr.GetLogger()
|
||||
}
|
||||
if r.Client == nil {
|
||||
|
||||
Reference in New Issue
Block a user