minor changes

This commit is contained in:
Felix Kunde
2021-10-08 16:03:05 +02:00
parent d64b988491
commit 916b6fe1d7
2 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -404,7 +404,7 @@ func (c *Cluster) syncStatefulSet() error {
}
// empty config probably means cluster is not fully initialized yet, e.g. restoring from backup
// to not attempt a restart in such situation
// do not attempt a restart
if !reflect.DeepEqual(patroniConfig, emptyPatroniConfig) || len(pgParameters) > 0 {
instanceRestartRequired, err = c.checkAndSetGlobalPostgreSQLConfiguration(&pod, patroniConfig, pgParameters)
if err != nil {