-
Notifications
You must be signed in to change notification settings - Fork 166
LG-8414 Remove flag from batch job #7534
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -25,5 +25,17 @@ def s3_client | |||||
| compute_checksums: false, | ||||||
| ) | ||||||
| end | ||||||
|
|
||||||
| def attempts_bucket_name | ||||||
| IdentityConfig.store.irs_attempt_api_bucket_name | ||||||
| end | ||||||
|
|
||||||
| def attempts_s3_write_enabled | ||||||
| (attempts_bucket_name && attempts_bucket_name != 'default-placeholder') | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think it's probably fine since the configuration value appears to be nil-able, but I'd be concerned if Also, the parentheses don't seem necessary.
Suggested change
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. +1 to these suggestions |
||||||
| end | ||||||
|
|
||||||
| def attempts_serve_events_from_s3 | ||||||
| IdentityConfig.store.irs_attempt_api_aws_s3_enabled && attempts_s3_write_enabled | ||||||
| end | ||||||
ThatSpaceGuy marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
| end | ||||||
| end | ||||||
Uh oh!
There was an error while loading. Please reload this page.