From 14cb4f176d06fa867696798a284a71501eecc2fc Mon Sep 17 00:00:00 2001 From: Manuel Alejandro de Brito Fontes Date: Wed, 1 Feb 2023 10:45:59 -0300 Subject: [PATCH] Fix useMinio logic --- install/installer/pkg/common/storage.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/install/installer/pkg/common/storage.go b/install/installer/pkg/common/storage.go index a063ee52eccf2b..f9c7983a83a1d6 100644 --- a/install/installer/pkg/common/storage.go +++ b/install/installer/pkg/common/storage.go @@ -22,11 +22,7 @@ const StorageMount = "/mnt/secrets/storage" func useMinio(context *RenderContext) bool { // Minio is used for in-cluster storage and as a facade to non-GCP providers - if pointer.BoolDeref(context.Config.ObjectStorage.InCluster, false) { - return true - } - - return false + return pointer.BoolDeref(context.Config.ObjectStorage.InCluster, false) } func StorageConfig(context *RenderContext) storageconfig.StorageConfig {