Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonBaeumer committed Feb 22, 2023
1 parent fd32e77 commit 4dd5724
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 14 deletions.
2 changes: 2 additions & 0 deletions fleetshard/pkg/central/reconciler/reconciler.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ func (r *CentralReconciler) Reconcile(ctx context.Context, remoteCentral private
return nil, errors.Wrapf(err, "checking if central changed")
}

glog.Infof("Start reconcile central %s/%s", remoteCentral.Metadata.Namespace, remoteCentral.Metadata.Name)

remoteCentralName := remoteCentral.Metadata.Name
remoteCentralNamespace := remoteCentral.Metadata.Namespace
if !changed && r.wantsAuthProvider == r.hasAuthProvider && isRemoteCentralReady(remoteCentral) {
Expand Down
1 change: 0 additions & 1 deletion fleetshard/pkg/runtime/runtime.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ func (r *Runtime) Start() error {
ctx, cancel := context.WithTimeout(context.Background(), 15*time.Minute)
defer cancel()

glog.Infof("Start reconcile central %s/%s", central.Metadata.Namespace, central.Metadata.Name)
status, err := reconciler.Reconcile(ctx, central)
fleetshardmetrics.MetricsInstance().IncCentralReconcilations()
r.handleReconcileResult(central, status, err)
Expand Down
13 changes: 0 additions & 13 deletions pkg/logger/logger_test.go

This file was deleted.

0 comments on commit 4dd5724

Please sign in to comment.