mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-18 01:06:07 +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)
|
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" {
|
||||||
|
|||||||
Reference in New Issue
Block a user