-
Notifications
You must be signed in to change notification settings - Fork 48
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
Fetch all items incase of S3 image tag store #800
Conversation
Codecov Report
@@ Coverage Diff @@
## main #800 +/- ##
============================================
+ Coverage 84.40% 84.48% +0.07%
- Complexity 374 376 +2
============================================
Files 27 27
Lines 1244 1250 +6
Branches 164 166 +2
============================================
+ Hits 1050 1056 +6
Misses 157 157
Partials 37 37
|
@@ -93,7 +93,6 @@ static ArgumentParser getArgumentParser() { | |||
"(default: Dockerfile,docker-compose)"); | |||
parser.addArgument("-r", "--" + RATE_LIMIT_PR_CREATION) | |||
.type(String.class) | |||
.setDefault("") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Setting this default was causing the flow to throw java.util.UnknownFormatConversionException and proceed when rate limiting was not used https://github.com/salesforce/dockerfile-image-update/blob/main/dockerfile-image-update/src/main/java/com/salesforce/dockerfileimageupdate/utils/RateLimit.java#L61
Removing this will make the logging more cleaner and give apt info message when rate limiting not used
Added @jeetchoudhary for second opinion - LGTM |
Sorry, accidentally pressed close with comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM too, proposed some minor nit changes. do have a look.
...update/src/main/java/com/salesforce/dockerfileimageupdate/storage/S3BackedImageTagStore.java
Outdated
Show resolved
Hide resolved
...te/src/test/java/com/salesforce/dockerfileimageupdate/storage/S3BackedImageTagStoreTest.java
Outdated
Show resolved
Hide resolved
...te/src/test/java/com/salesforce/dockerfileimageupdate/storage/S3BackedImageTagStoreTest.java
Outdated
Show resolved
Hide resolved
0e0a228
Addressed comments. Can you please re-review @afalko @jeetchoudhary |
No description provided.