diff --git a/pkg/cluster/sync.go b/pkg/cluster/sync.go index 093454381..94736b531 100644 --- a/pkg/cluster/sync.go +++ b/pkg/cluster/sync.go @@ -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" {