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

Add support for healthcheck argument start-interval #98

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

thnee
Copy link

@thnee thnee commented Jun 12, 2024

Fixes #97

@thnee thnee marked this pull request as draft June 12, 2024 18:49
@thnee thnee marked this pull request as ready for review June 12, 2024 20:57
@thnee
Copy link
Author

thnee commented Jun 12, 2024

Ready for review. Have verified that tests are working locally, by running act.

Comment on lines +50 to +56
case (invalid, intervals, timeouts, startPeriods, startIntervals, retriesD) of
((k, v) : _, _, _, _, _, _) -> unexpectedFlag k v
(_, _ : _ : _, _, _, _, _) -> customError $ DuplicateFlagError "--interval"
(_, _, _ : _ : _, _, _, _) -> customError $ DuplicateFlagError "--timeout"
(_, _, _, _ : _ : _, _, _) -> customError $ DuplicateFlagError "--start-period"
(_, _, _, _, _ : _ : _, _) -> customError $ DuplicateFlagError "--start-interval"
(_, _, _, _, _, _ : _ : _) -> customError $ DuplicateFlagError "--retries"

Choose a reason for hiding this comment

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

Mmh Haskell case blocks scale as O(n^2)?! Is there an alternative?

@mikaelarguedas
Copy link

Hey there 👋

Interested in seeing this being supported by hadolint. Any plan on getting this in ?

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.

Add support for --start-interval
3 participants