Skip to content

Commit

Permalink
Update server.go
Browse files Browse the repository at this point in the history
  • Loading branch information
lmangani authored Oct 2, 2024
1 parent 7354f0c commit 14ce80f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions go/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 14ce80f

Please sign in to comment.