From a2fb925a94dfb14be2c3889501334bb99d280a5a Mon Sep 17 00:00:00 2001 From: Pierig Le Saux Date: Sun, 26 Apr 2026 20:34:26 -0400 Subject: [PATCH] fix golangci ? not too sure what's going on here --- gcs/public.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcs/public.go b/gcs/public.go index 1f3cc5d5..7752a0c1 100644 --- a/gcs/public.go +++ b/gcs/public.go @@ -48,9 +48,9 @@ func NewPublishedStorage(bucket, prefix, credentialsFile, serviceAccountJSON, if endpoint != "" { opts = append(opts, option.WithEndpoint(endpoint), option.WithoutAuthentication()) } else if credentialsFile != "" { - opts = append(opts, option.WithCredentialsFile(credentialsFile)) + opts = append(opts, option.WithAuthCredentialsFile(option.ServiceAccount, credentialsFile)) } else if serviceAccountJSON != "" { - opts = append(opts, option.WithCredentialsJSON([]byte(serviceAccountJSON))) + opts = append(opts, option.WithAuthCredentialsJSON(option.ServiceAccount, []byte(serviceAccountJSON))) } if project != "" {