mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-04 01:48:32 +02:00
Ensure to log errors.
This commit is contained in:
+4
-1
@@ -56,7 +56,10 @@ func (c *Cluster) Sync(newSpec *acidv1.Postgresql) error {
|
||||
c.logger.Debugf("syncing volumes using %q storage resize mode", c.OpConfig.StorageResizeMode)
|
||||
|
||||
if c.OpConfig.EnableEBSGp3Migration {
|
||||
c.executeEBSMigration()
|
||||
err = c.executeEBSMigration()
|
||||
if nil != err {
|
||||
return err
|
||||
}
|
||||
}
|
||||
|
||||
if c.OpConfig.StorageResizeMode == "mixed" {
|
||||
|
||||
Reference in New Issue
Block a user