Skip to content

Commit

Permalink
Merge pull request #70454 from vladbelit/gcs_trailing_dot_undo
Browse files Browse the repository at this point in the history
Fix issues with TF GCS operations not working in certain environments.
  • Loading branch information
learning-to-play authored Jun 26, 2024
2 parents 6ed0a1a + 72f4b02 commit bb8057c
Show file tree
Hide file tree
Showing 2 changed files with 224 additions and 226 deletions.
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 bb8057c

Please sign in to comment.