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

Booleans do not work #39

Open
C0rn3j opened this issue Sep 3, 2020 · 0 comments
Open

Booleans do not work #39

C0rn3j opened this issue Sep 3, 2020 · 0 comments

Comments

@C0rn3j
Copy link

C0rn3j commented Sep 3, 2020

Executing

./check_json -u http://example.com -a '{"success"}' --expect '1'

where example.com returns

{"success":true}

would fail with

Not an ARRAY reference at /usr/share/perl5/Monitoring/Plugin/Threshold.pm line 19.

I added a hack in my fork that makes it work but it's not very pretty C0rn3j@a19e7aa

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

No branches or pull requests

1 participant