Skip to content

Commit

Permalink
Fix useMinio logic
Browse files Browse the repository at this point in the history
  • Loading branch information
aledbf authored and roboquat committed Feb 1, 2023
1 parent 1ea14bd commit 14cb4f1
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions install/installer/pkg/common/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 14cb4f1

Please sign in to comment.