Use warningf instead of warnf

This commit is contained in:
Murat Kabilov
2017-08-30 14:35:56 +02:00
committed by GitHub
parent a987ff39a7
commit 899c0bef45
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -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