mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-04 20:11:51 +02:00
Address code review by @zerg-junior
- new info messages, rename the annotation flag.
This commit is contained in:
@@ -247,6 +247,7 @@ func (c *Cluster) syncStatefulSet() error {
|
||||
|
||||
podsRollingUpdateRequired = (len(pods) > 0)
|
||||
if podsRollingUpdateRequired {
|
||||
c.logger.Warningf("found pods from the previous statefulset: trigger rolling update")
|
||||
c.applyRollingUpdateFlagforStatefulSet(podsRollingUpdateRequired)
|
||||
}
|
||||
c.logger.Infof("created missing statefulset %q", util.NameFromMeta(sset.ObjectMeta))
|
||||
|
||||
Reference in New Issue
Block a user