Skip to content

Commit 4df0ee6

Browse files
committed
Make gcsEndpointURL private
1 parent 36dee10 commit 4df0ee6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pbm/storage/gcs/gcs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
)
1414

1515
const (
16-
GCSEndpointURL = "storage.googleapis.com"
16+
gcsEndpointURL = "storage.googleapis.com"
1717
defaultMaxObjSizeGB = 5018 // 4.9 TB
1818
)
1919

pbm/storage/gcs/hmac_client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ func newHMACClient(opts *Config, l log.LogEvent) (*hmacClient, error) {
3636
}
3737
}
3838

39-
minioClient, err := minio.New(GCSEndpointURL, &minio.Options{
39+
minioClient, err := minio.New(gcsEndpointURL, &minio.Options{
4040
Creds: credentials.NewStaticV2(opts.Credentials.HMACAccessKey, opts.Credentials.HMACSecret, ""),
4141
})
4242
if err != nil {

0 commit comments

Comments
 (0)