From 0c69f233ae59d89b6c3a58b01462b88f47adff8c Mon Sep 17 00:00:00 2001 From: Benjosh95 Date: Wed, 4 Jun 2025 22:33:39 +0200 Subject: [PATCH 1/4] fix condition of storageclasses length --- internal/cmd/mongodbflex/options/options.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/cmd/mongodbflex/options/options.go b/internal/cmd/mongodbflex/options/options.go index 10e9f6f5c..55ad63408 100644 --- a/internal/cmd/mongodbflex/options/options.go +++ b/internal/cmd/mongodbflex/options/options.go @@ -225,7 +225,7 @@ func outputResultAsTable(p *print.Printer, model *inputModel, options *options) if model.Versions && len(*options.Versions) != 0 { content = append(content, buildVersionsTable(*options.Versions)) } - if model.Storages && options.Storages.Storages != nil && len(*options.Storages.Storages.StorageClasses) == 0 { + if model.Storages && options.Storages.Storages != nil && len(*options.Storages.Storages.StorageClasses) > 0 { content = append(content, buildStoragesTable(*options.Storages.Storages)) } From 1b6ba276273ad73f8dbbf9984cb07e9a12a15db2 Mon Sep 17 00:00:00 2001 From: Benjosh95 Date: Tue, 10 Jun 2025 22:54:20 +0200 Subject: [PATCH 2/4] fix condition of storageclasses length --- internal/cmd/postgresflex/options/options.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/cmd/postgresflex/options/options.go b/internal/cmd/postgresflex/options/options.go index 8a3bd6287..c327e030b 100644 --- a/internal/cmd/postgresflex/options/options.go +++ b/internal/cmd/postgresflex/options/options.go @@ -222,7 +222,7 @@ func outputResultAsTable(p *print.Printer, model inputModel, options *options) e if model.Versions && len(*options.Versions) != 0 { content = append(content, buildVersionsTable(*options.Versions)) } - if model.Storages && options.Storages.Storages != nil && len(*options.Storages.Storages.StorageClasses) == 0 { + if model.Storages && options.Storages.Storages != nil && len(*options.Storages.Storages.StorageClasses) > 0 { content = append(content, buildStoragesTable(*options.Storages.Storages)) } From 78acf03aaec15c446e7f584a4e04f3afafc2c0b2 Mon Sep 17 00:00:00 2001 From: stackit-pipeline <142982727+stackit-pipeline@users.noreply.github.com> Date: Fri, 6 Jun 2025 13:18:27 +0200 Subject: [PATCH 3/4] fix(deps): update module golang.org/x/text to v0.26.0 (#784) Co-authored-by: Renovate Bot --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index abc9ade22..8f986329f 100644 --- a/go.mod +++ b/go.mod @@ -207,7 +207,7 @@ require ( go.uber.org/zap v1.24.0 // indirect golang.org/x/exp/typeparams v0.0.0-20250210185358-939b2ce775ac // indirect golang.org/x/sync v0.15.0 // indirect - golang.org/x/tools v0.34.0 // indirect + golang.org/x/tools v0.33.0 // indirect google.golang.org/protobuf v1.36.6 // indirect gopkg.in/yaml.v2 v2.4.0 // indirect honnef.co/go/tools v0.6.1 // indirect From 5630a75ffa9a33b244e48d333f06ab485031da68 Mon Sep 17 00:00:00 2001 From: stackit-pipeline <142982727+stackit-pipeline@users.noreply.github.com> Date: Fri, 6 Jun 2025 13:34:51 +0200 Subject: [PATCH 4/4] chore(deps): update module golang.org/x/tools to v0.34.0 (#783) Co-authored-by: Renovate Bot --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 8f986329f..abc9ade22 100644 --- a/go.mod +++ b/go.mod @@ -207,7 +207,7 @@ require ( go.uber.org/zap v1.24.0 // indirect golang.org/x/exp/typeparams v0.0.0-20250210185358-939b2ce775ac // indirect golang.org/x/sync v0.15.0 // indirect - golang.org/x/tools v0.33.0 // indirect + golang.org/x/tools v0.34.0 // indirect google.golang.org/protobuf v1.36.6 // indirect gopkg.in/yaml.v2 v2.4.0 // indirect honnef.co/go/tools v0.6.1 // indirect