Skip to content

Commit a877524

Browse files
committed
Fix sigsegv
1 parent 940ed18 commit a877524

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

pkg/cluster/sync.go

-6
Original file line numberDiff line numberDiff line change
@@ -488,9 +488,6 @@ func (c *Cluster) syncPrimaryPodDisruptionBudget(isUpdate bool) error {
488488
}
489489
}
490490

491-
c.logger.Infof("created missing pod disruption budget %q", util.NameFromMeta(pdb.ObjectMeta))
492-
c.PrimaryPodDisruptionBudget = pdb
493-
494491
return nil
495492
}
496493

@@ -530,9 +527,6 @@ func (c *Cluster) syncCriticalOpPodDisruptionBudget(isUpdate bool) error {
530527
}
531528
}
532529

533-
c.logger.Infof("created missing pod disruption budget %q", util.NameFromMeta(pdb.ObjectMeta))
534-
c.CriticalOpPodDisruptionBudget = pdb
535-
536530
return nil
537531
}
538532

0 commit comments

Comments
 (0)