Skip to content

Commit

Permalink
Update comment in pkg/objstore/gcs/gcs.go
Browse files Browse the repository at this point in the history
Co-Authored-By: metalmatze <[email protected]>
  • Loading branch information
bwplotka and metalmatze authored Mar 26, 2019
1 parent 6c3a22c commit 21e0f69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/objstore/gcs/gcs.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func NewBucket(ctx context.Context, logger log.Logger, conf []byte, component st

var opts []option.ClientOption

// If ServiceAccount provided inside configuration use it, otherwise fallback to defaults
// If ServiceAccount is provided, use them in GCS client, otherwise fallback to Google default logic.
if gc.ServiceAccount != "" {
credentials, err := google.CredentialsFromJSON(ctx, []byte(gc.ServiceAccount))
if err != nil {
Expand Down

0 comments on commit 21e0f69

Please sign in to comment.