Skip to content

Commit

Permalink
🔒 remove secret from log
Browse files Browse the repository at this point in the history
  • Loading branch information
danquack committed Oct 1, 2024
1 parent 4cb5fd5 commit dd12e08
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions operator/internal/controller/fleethandshake_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,6 @@ func (r *FleetHandshakeReconciler) Reconcile(ctx context.Context, req ctrl.Reque
}
}

logger.Info(fmt.Sprintf(`{"message": "Bundle content", "name": %q, "namespace": %q, "content": %s}`, bundle.Name, bundle.Namespace, bundle.Spec.Resources[0].Content))

fleetHandshake.Status.Status = "Synced"
if err := r.Status().Update(ctx, &fleetHandshake); err != nil {
logger.Error(err, "Unable to update FleetHandshake status")
Expand Down

0 comments on commit dd12e08

Please sign in to comment.