Skip to content

Commit

Permalink
rename option
Browse files Browse the repository at this point in the history
  • Loading branch information
Koos85 committed Aug 27, 2024
1 parent e36b321 commit b9a8927
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ asset:
name: "foo.local"
check: "phpfpm"
config:
status_url:
statusUrl:
- "https://foo/some_status"
```
Expand Down
4 changes: 2 additions & 2 deletions lib/check/phpfpm.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ async def check_phpfpm(
check_config: dict):

try:
url = check_config['status_url']
url = check_config['statusUrl']
except Exception:
logging.warning(
'Check did not run; '
'status_url is not provided, invalid or empty')
'statusUrl is not provided, invalid or empty')
raise IgnoreCheckException
# TODO allow_redirects, verify_ssl config

Expand Down

0 comments on commit b9a8927

Please sign in to comment.