Skip to content

Booleans do not work #39

Description

@C0rn3j

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions