gateway/gcs: Remove unused storageEndpoint (#5556)

master
Harshavardhana 7 years ago committed by Nitish Tiwari
parent 1e7e41fada
commit b2b5056163
  1. 2
      cmd/gateway/gcs/gateway-gcs.go

@ -345,8 +345,6 @@ type gcsGateway struct {
ctx context.Context
}
const googleStorageEndpoint = "storage.googleapis.com"
// Returns projectID from the GOOGLE_APPLICATION_CREDENTIALS file.
func gcsParseProjectID(credsFile string) (projectID string, err error) {
contents, err := ioutil.ReadFile(credsFile)

Loading…
Cancel
Save