Skip to content

Correct documentation example for failure-threshold#901

Merged
lorenzo merged 1 commit intohadolint:masterfrom
ericcornelissen:patch-1
Nov 16, 2022
Merged

Correct documentation example for failure-threshold#901
lorenzo merged 1 commit intohadolint:masterfrom
ericcornelissen:patch-1

Conversation

@ericcornelissen
Copy link
Copy Markdown
Contributor

What I did

Fix an example snippet for failure-threshold that was both:

  • Invalid (incorrect syntax)
  • Incorrect (there's no top-level configuration option "warning" or "info")

How I did it

Update the example based on how the configuration should be according to the rest of the documentation and verify the syntax with the first tool I could fine online.

How to verify it

Copy the snippet into a configuration file and see if it 1) works now and 2) didn't work before.

Fix an example snippet for `failure-threshold` that was both:
- Invalid (incorrect syntax)
- Incorrect (there's no top-level configuration option "warning" or
  "info")
@lorenzo
Copy link
Copy Markdown
Member

lorenzo commented Nov 16, 2022

thanks so much!

@lorenzo lorenzo merged commit e12f4fa into hadolint:master Nov 16, 2022
@ericcornelissen ericcornelissen deleted the patch-1 branch November 16, 2022 15:58
@islandmaren
Copy link
Copy Markdown

_b264eaa92ca2fe7df22a480a67b1c16e6e3e5f7c****_

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.

3 participants