|
@@ -46,7 +46,8 @@ type BlueGreenReconciler struct {
|
|
|
|
|
|
func (r *BlueGreenReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) {
|
|
|
log := log.FromContext(ctx)
|
|
|
- log.Info("event", "name", req.Name, "namespace", req.Namespace)
|
|
|
+ log.Info("Reconcile Start", "name", req.Name, "namespace", req.Namespace)
|
|
|
+ defer log.Info("Reconcile Finished", "name", req.Name, "namespace", req.Namespace)
|
|
|
|
|
|
bluegreen := new(v1.BlueGreen)
|
|
|
if err := r.Client.Get(ctx, req.NamespacedName, bluegreen); err != nil {
|