mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-04 21:49:52 +02:00
Use warningf instead of warnf
This commit is contained in:
@@ -199,7 +199,7 @@ func (c *Cluster) replaceStatefulSet(newStatefulSet *v1beta1.StatefulSet) error
|
||||
// check that all the previous replicas were picked up.
|
||||
if newStatefulSet.Spec.Replicas == oldStatefulset.Spec.Replicas &&
|
||||
createdStatefulset.Status.Replicas != oldStatefulset.Status.Replicas {
|
||||
c.logger.Warnf("number of pods for the old and updated Statefulsets is not identical")
|
||||
c.logger.Warningf("number of pods for the old and updated Statefulsets is not identical")
|
||||
}
|
||||
|
||||
c.Statefulset = createdStatefulset
|
||||
|
||||
Reference in New Issue
Block a user