Skip to content

Commit

Permalink
fix invalid reference on fluentdspec
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Wilcsinszky <[email protected]>
  • Loading branch information
pepov committed Feb 8, 2024
1 parent 85d0ac4 commit 9a801b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/resources/fluentd/pdb.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ import (
)

func (r *Reconciler) pdb() (runtime.Object, reconciler.DesiredState, error) {
if r.Logging.Spec.FluentdSpec.Pdb != nil {
pdbSpec := r.Logging.Spec.FluentdSpec.Pdb
if r.fluentdSpec.Pdb != nil {
pdbSpec := r.fluentdSpec.Pdb

return &policyv1.PodDisruptionBudget{
ObjectMeta: r.FluentdObjectMeta(PodDisruptionBudgetName, ComponentFluentd),
Expand Down

0 comments on commit 9a801b5

Please sign in to comment.