Ensure to log errors.
This commit is contained in:
parent
939435bc41
commit
75c652e77f
|
|
@ -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" {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue