gateway/gcs: Remove unused storageEndpoint (#5556)

This commit is contained in:
Harshavardhana 2018-02-20 01:37:31 -08:00 committed by Nitish Tiwari
parent 1e7e41fada
commit b2b5056163
1 changed files with 0 additions and 2 deletions

View File

@ -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)