From 14ce80f2f6c1067f6e37fb6393c606970a71eb8c Mon Sep 17 00:00:00 2001 From: Lorenzo Mangani Date: Wed, 2 Oct 2024 20:30:52 +0200 Subject: [PATCH] Update server.go --- go/server.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/go/server.go b/go/server.go index d091b0c..cff2fef 100644 --- a/go/server.go +++ b/go/server.go @@ -44,6 +44,9 @@ func initStorage() error { secretKey := getEnv("S3_SECRET_KEY", "") useS3 := endpoint != "" && bucketName != "" && accessKey != "" && secretKey != "" + log.Printf("S3_ENDPOINT: %s", endpoint) + log.Printf("BOOL useS3: %v", useS3) + if useS3 { log.Printf("Initializing MinIO storage with endpoint: %s, bucket: %s", endpoint, bucketName)