We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1c0d5f commit 772f0caCopy full SHA for 772f0ca
pkg/cluster/sync.go
@@ -53,17 +53,18 @@ func (c *Cluster) Sync(newSpec *acidv1.Postgresql) error {
53
return err
54
}
55
56
+ // sync volume may already transition volumes to gp3, if iops/throughput or type is specified
57
+ if err = c.syncVolumes(); err != nil {
58
+ return err
59
+ }
60
+
61
if c.OpConfig.EnableEBSGp3Migration {
62
err = c.executeEBSMigration()
63
if nil != err {
64
65
66
67
- if err = c.syncVolumes(); err != nil {
- return err
- }
-
68
if err = c.enforceMinResourceLimits(&c.Spec); err != nil {
69
err = fmt.Errorf("could not enforce minimum resource limits: %v", err)
70
0 commit comments