mirror of https://github.com/minio/minio.git
gateway/gcs: Remove unused storageEndpoint (#5556)
This commit is contained in:
parent
1e7e41fada
commit
b2b5056163
|
@ -345,8 +345,6 @@ type gcsGateway struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
}
|
}
|
||||||
|
|
||||||
const googleStorageEndpoint = "storage.googleapis.com"
|
|
||||||
|
|
||||||
// Returns projectID from the GOOGLE_APPLICATION_CREDENTIALS file.
|
// Returns projectID from the GOOGLE_APPLICATION_CREDENTIALS file.
|
||||||
func gcsParseProjectID(credsFile string) (projectID string, err error) {
|
func gcsParseProjectID(credsFile string) (projectID string, err error) {
|
||||||
contents, err := ioutil.ReadFile(credsFile)
|
contents, err := ioutil.ReadFile(credsFile)
|
||||||
|
|
Loading…
Reference in New Issue