Skip to content

Commit

Permalink
set userProject from static default in FileSystemProvider (#3504)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-williams authored and yihanzhen committed Aug 9, 2018
1 parent d2a98c0 commit 7ef0126
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,12 @@ public static void setDefaultCloudStorageConfiguration(@Nullable CloudStorageCon
* @see CloudStorageFileSystem#forBucket(String)
*/
public CloudStorageFileSystemProvider() {
this("", futureStorageOptions);
this(
CloudStorageFileSystem
.getDefaultCloudStorageConfiguration()
.userProject(),
futureStorageOptions
);
}

/**
Expand Down

0 comments on commit 7ef0126

Please sign in to comment.