From ad3f310b67dae304136861c38f0def23fd1dbefd Mon Sep 17 00:00:00 2001 From: Benjamin Webb <40066515+webb-ben@users.noreply.github.com> Date: Wed, 2 Oct 2024 13:32:52 -0400 Subject: [PATCH] Update minio.go --- internal/common/minio.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/common/minio.go b/internal/common/minio.go index 2b4ccf3..aef98ea 100644 --- a/internal/common/minio.go +++ b/internal/common/minio.go @@ -54,7 +54,8 @@ func MinioConnection(v1 *viper.Viper) *minio.Client { }) } - // minioClient.SetCustomTransport(&http.Transport{TLSClientConfig: &tls.Config{InsecureSkipVerify: true}}) + minioClient.SetCustomTransport(&http.Transport{TLSClientConfig: &tls.Config{InsecureSkipVerify: true}}) + log.Debug(minioClient.IsOnline()) if err != nil { log.Fatal(err) }