From d97f8363028431788b6eed8ea34c50d5f3c3d24f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Mu=C3=9Fler?= Date: Fri, 22 Jan 2021 17:12:36 +0100 Subject: [PATCH] Same order. --- pkg/cluster/volumes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cluster/volumes.go b/pkg/cluster/volumes.go index 4c5171960..e07d453ec 100644 --- a/pkg/cluster/volumes.go +++ b/pkg/cluster/volumes.go @@ -108,7 +108,7 @@ func (c *Cluster) syncUnderlyingEBSVolume() error { } if modifyIops != nil || modifyThroughput != nil || modifySize != nil { - if modifyThroughput != nil || modifyIops != nil { + if modifyIops != nil || modifyThroughput != nil { // we default to gp3 if iops and throughput are configured modifyType = awsGp3 if targetValue.VolumeType == "io2" {