Skip to content

Commit

Permalink
fix: Remove debug
Browse files Browse the repository at this point in the history
Signed-off-by: Ce Gao <gaoce@caicloud.io>
  • Loading branch information
gaocegege committed May 22, 2019
1 parent 76c0938 commit 1d3262b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions pkg/controller/v1alpha2/experiment/experiment_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -217,9 +217,7 @@ func (r *ReconcileExperiment) Reconcile(request reconcile.Request) (reconcile.Re
}
instance := original.DeepCopy()

log.Info("DEBUG", "ins", instance)
if needUpdate, finalizers := instance.NeedUpdateFinalizers(); needUpdate {
log.Info("DEBUG+2", "ins", instance, "finalizers", finalizers)
return r.updateFinalizers(instance, finalizers)
}

Expand Down
1 change: 0 additions & 1 deletion pkg/controller/v1alpha2/experiment/experiment_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ func (r *ReconcileExperiment) createTrialInstance(expInstance *experimentsv1alph
}
trial.Spec.MetricsCollectorSpec = mcSpec

logger.Info("DEBUG-util", "trial", trial)
if err := r.Create(context.TODO(), trial); err != nil {
logger.Error(err, "Trial create error", "Trial name", trial.Name)
return err
Expand Down

0 comments on commit 1d3262b

Please sign in to comment.