Skip to content

Commit

Permalink
Fix issues with TF GCS operations not working in certain environments.
Browse files Browse the repository at this point in the history
See tensorflow/tensorflow#69789 for more info.

PiperOrigin-RevId: 646562233
  • Loading branch information
tensorflower-gardener authored and copybara-github committed Jun 25, 2024
1 parent 697b383 commit e13f157
Show file tree
Hide file tree
Showing 2 changed files with 224 additions and 226 deletions.
6 changes: 3 additions & 3 deletions tsl/platform/cloud/gcs_file_system.cc
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ limitations under the License.

namespace tsl {
namespace {
constexpr char kGcsUriBase[] = "https://www.googleapis.com./storage/v1/";
constexpr char kGcsUriBase[] = "https://www.googleapis.com/storage/v1/";
constexpr char kGcsUploadUriBase[] =
"https://www.googleapis.com./upload/storage/v1/";
constexpr char kStorageHost[] = "storage.googleapis.com.";
"https://www.googleapis.com/upload/storage/v1/";
constexpr char kStorageHost[] = "storage.googleapis.com";
constexpr char kBucketMetadataLocationKey[] = "location";
constexpr size_t kReadAppendableFileBufferSize = 1024 * 1024; // In bytes.
constexpr int kGetChildrenDefaultPageSize = 1000;
Expand Down
Loading

0 comments on commit e13f157

Please sign in to comment.