Skip to content

Commit

Permalink
fix(google): strip out google.com:, if present, from default bucket n…
Browse files Browse the repository at this point in the history
…ame (#212)
  • Loading branch information
Eric Wiseblatt committed Mar 8, 2017
1 parent a8a3d0a commit 04cce35
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -196,7 +196,8 @@ public GcsStorageService(String bucketName,
throw new IllegalStateException(e);
}

this.bucketName = bucketName;
// "google.com:" is deprecated but may be in certain old projects.
this.bucketName = bucketName.replace("google.com:", "");
this.bucketLocation = bucketLocation;
this.basePath = basePath;
this.projectName = projectName;
Expand Down

0 comments on commit 04cce35

Please sign in to comment.