Browse Source

fix logging

master 0.0.2
Vladimir Smagin 1 year ago
parent
commit
d25b2d4ad5
Signed by: 21h GPG Key ID: 13BCE12E5618F071
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      pkg/controller/redis/reconcile.go

+ 2
- 2
pkg/controller/redis/reconcile.go View File

@ -124,7 +124,7 @@ func (r *ReconcileRedis) ReconcileDeployment(reqLogger logr.Logger, cr *blindage
}
}
}
reqLogger.Info("Reconcile Deployment complete", "Deployment Name", deployment, "Namespace", cr.Namespace, "Name", cr.Name)
reqLogger.Info("Reconcile Deployment complete", "Deployment Name", deployment.Name, "Namespace", cr.Namespace, "Name", cr.Name)
return reconcile.Result{}, nil
}
@ -161,6 +161,6 @@ func (r *ReconcileRedis) ReconcileStatefulSet(reqLogger logr.Logger, cr *blindag
}
}
reqLogger.Info("Reconcile StatefulSet complete", "StatefulSet Name", newStatefulset, "Namespace", cr.Namespace, "Name", cr.Name)
reqLogger.Info("Reconcile StatefulSet complete", "StatefulSet Name", newStatefulset.Name, "Namespace", cr.Namespace, "Name", cr.Name)
return reconcile.Result{}, nil
}

Loading…
Cancel
Save