Skip to content

Commit

Permalink
Add info logging for removed services and ingress
Browse files Browse the repository at this point in the history
  • Loading branch information
janhoy committed Feb 26, 2024
1 parent 81ee166 commit ddf0a56
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions controllers/solrcloud_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ func (r *SolrCloudReconciler) Reconcile(ctx context.Context, req ctrl.Request) (
if err != nil {
return requeueOrNot, err
}
logger.Info("Deleted service for node", "node", serviceName)
} else if !errors.IsNotFound(err) {
return requeueOrNot, err
}
Expand Down Expand Up @@ -371,6 +372,7 @@ func (r *SolrCloudReconciler) Reconcile(ctx context.Context, req ctrl.Request) (
if err != nil {
return requeueOrNot, err
}
logger.Info("Deleted Ingress")
}
}

Expand Down

0 comments on commit ddf0a56

Please sign in to comment.