From 66a5465d5a7041e87b108580dbc24672f043fff2 Mon Sep 17 00:00:00 2001 From: Darren Dowker Date: Tue, 17 Sep 2024 11:44:21 -0700 Subject: [PATCH] fix typo --- broker/client/reader.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/broker/client/reader.go b/broker/client/reader.go index f31ccbbc..72188cca 100644 --- a/broker/client/reader.go +++ b/broker/client/reader.go @@ -3,8 +3,8 @@ package client import ( "bufio" "context" - "encoding/json" "crypto/tls" + "encoding/json" "errors" "fmt" "io" @@ -501,10 +501,10 @@ func (s *gcsBackend) open(ctx context.Context, ep *url.URL, fragment pb.Fragment return gClient.Bucket(cfg.bucket).Object(cfg.rewritePath(cfg.prefix, fragment.ContentPath())).NewReader(ctx) } -/ to help identify when JSON credentials are an external account used by workload identity - type credentialsFile struct { - Type string `json:"type"` - } +// to help identify when JSON credentials are an external account used by workload identity +type credentialsFile struct { + Type string `json:"type"` +} func (s *gcsBackend) gcsClient(ep *url.URL) (cfg GSStoreConfig, client *storage.Client, err error) { var conf *jwt.Config