Skip to content

Commit

Permalink
[debug]: remove debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
jefflill committed Apr 21, 2024
1 parent 01dc0fe commit 1e1d77c
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,13 +100,8 @@ public override async Task<ResourceControllerResult> ReconcileAsync(V1MinioBucke
{
await SyncContext.Clear;

//################################
// $debug(jefflill): RESTORE THIS!
//################################

using (var activity = TelemetryHub.ActivitySource?.StartActivity())
{
#if TODO
Tracer.CurrentSpan?.AddEvent("reconcile", attributes => attributes.Add("resource", nameof(V1MinioBucket)));

logger?.LogInformationEx(() => $"Reconciling {resource.GetType().FullName} [{resource.Namespace()}/{resource.Name()}].");
Expand Down Expand Up @@ -176,7 +171,6 @@ await k8s.CustomObjects.PatchNamespacedCustomObjectStatusAsync<V1MinioBucket>(
namespaceParameter: resource.Namespace());

logger?.LogInformationEx(() => $"RECONCILED: {resource.Name()}");
#endif

return null;
}
Expand Down

0 comments on commit 1e1d77c

Please sign in to comment.