Ensure to log errors.

This commit is contained in:
Jan Mußler 2020-12-09 14:00:14 +01:00
parent 939435bc41
commit 75c652e77f
1 changed files with 4 additions and 1 deletions

View File

@ -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) c.logger.Debugf("syncing volumes using %q storage resize mode", c.OpConfig.StorageResizeMode)
if c.OpConfig.EnableEBSGp3Migration { if c.OpConfig.EnableEBSGp3Migration {
c.executeEBSMigration() err = c.executeEBSMigration()
if nil != err {
return err
}
} }
if c.OpConfig.StorageResizeMode == "mixed" { if c.OpConfig.StorageResizeMode == "mixed" {