Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use correct aws_endpoint key #3072

Merged
merged 1 commit into from
Dec 21, 2024
Merged

Conversation

ion-elgreco
Copy link
Collaborator

Description

Fixes the is_aws check by using the correct aws_endpoint key. It's always the aws_endpoint lowercase after going through with_env_s3

@github-actions github-actions bot added the binding/rust Issues for the Rust crate label Dec 20, 2024
Copy link

codecov bot commented Dec 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 72.40%. Comparing base (2272ff7) to head (20247e9).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3072   +/-   ##
=======================================
  Coverage   72.39%   72.40%           
=======================================
  Files         128      128           
  Lines       41010    41017    +7     
  Branches    41010    41017    +7     
=======================================
+ Hits        29690    29697    +7     
+ Misses       9423     9422    -1     
- Partials     1897     1898    +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

is_aws() should be executing after with_env_s3 which downcases the
parameters, but this is a bit more defensive in checking the presence of
both aws_endpoint and the uppercase constant

Signed-off-by: R. Tyler Croy <rtyler@brokenco.de>
@ion-elgreco ion-elgreco added this pull request to the merge queue Dec 21, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 21, 2024
@rtyler rtyler added this pull request to the merge queue Dec 21, 2024
Merged via the queue into delta-io:main with commit cdc6473 Dec 21, 2024
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
binding/rust Issues for the Rust crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants