Skip to content

Only check validity of S3 region if not using custom endpoint - #1604

Merged
RichardScothern merged 1 commit into
distribution:masterfrom
ArdaXi:custom-s3-skip-region-check
Apr 8, 2016
Merged

RichardScothern merged 1 commit into
distribution:masterfrom
ArdaXi:custom-s3-skip-region-check

Conversation

@ArdaXi

@ArdaXi ArdaXi commented Apr 6, 2016

Copy link
Copy Markdown

The current S3 implementation was expanded in #1512 to allow specifying a custom endpoint. Currently, this only allows talking to a custom S3 implementation with one of a few hardcoded regions.

This PR skips the check to validate the region if a custom S3 endpoint is provided, so that custom regions can be used as well.

@edef1c

edef1c commented Apr 6, 2016

Copy link
Copy Markdown

👍

@codecov-io

Copy link
Copy Markdown

Current coverage is 51.14%

Merging #1604 into master will decrease coverage by -6.71% as of dbb6e28

@@            master   #1604   diff @@
======================================
  Files          122     122       
  Stmts        10663   10663       
  Branches       841     748    -93
  Methods          0       0       
======================================
- Hit           6169    5454   -715
+ Partial        841     748    -93
- Missed        3653    4461   +808

Review entire Coverage Diff as of dbb6e28


Uncovered Suggestions

  1. +0.30% via .../driver/s3-aws/s3.go#732...763
  2. +0.29% via .../driver/s3-aws/s3.go#268...297
  3. +0.22% via .../driver/s3-aws/s3.go#884...906
  4. See 7 more...

Powered by Codecov. Updated on successful CI builds.

@RichardScothern

Copy link
Copy Markdown

thank you @ArdaXi

LGTM

@RichardScothern
RichardScothern merged commit 4c11952 into distribution:master Apr 8, 2016
thaJeztah pushed a commit to thaJeztah/distribution that referenced this pull request Apr 22, 2021
…n-check

Only check validity of S3 region if not using custom endpoint
thaJeztah pushed a commit to thaJeztah/distribution that referenced this pull request Jan 19, 2022
…n-check

Only check validity of S3 region if not using custom endpoint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants