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

Move maxAttempts to more generic handling code for adding environment variables #214

Merged
merged 3 commits into from
Jun 27, 2024

Conversation

muddyfish
Copy link
Contributor

Description of changes:

Refactors code that handles maxAttempts such that it's more reusable

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@muddyfish muddyfish requested a review from passaro June 26, 2024 13:25
Copy link
Contributor

@passaro passaro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice change, just a couple of minor suggestions.

pkg/driver/mount.go Outdated Show resolved Hide resolved
pkg/driver/mount.go Show resolved Hide resolved
Rename `addOptionToEnvironmentVariables` to `moveOptionToEnvironmentVariables`
Add additional documentation to `moveOptionToEnvironmentVariables`
Swap the return order to be consistent with parameters.
@muddyfish muddyfish requested a review from passaro June 26, 2024 16:19
pkg/driver/mount.go Outdated Show resolved Hide resolved
@muddyfish muddyfish requested a review from passaro June 27, 2024 09:01
Copy link
Contributor

@passaro passaro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@muddyfish muddyfish merged commit 2234a3b into main Jun 27, 2024
8 checks passed
@muddyfish muddyfish deleted the refactor/aws-max-attempts branch June 27, 2024 10:46
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.

None yet

2 participants