Commit Graph

5 Commits

Author SHA1 Message Date
3f6c8f5a22 Breaking: Remove 'SecondsOrDuration' for check_interval
Some checks failed
continuous-integration/drone/push Build is failing
Now requires an explicit duration unit. Eg. 30s
2024-11-14 11:18:39 -08:00
04395fa693 Add duration parsing tests 2021-05-11 10:41:39 -07:00
25c5179d3d Switch to a single key for command and command shell
All checks were successful
continuous-integration/drone/push Build is passing
This makes the configuration more similar to Minitor-py and
docker-compose. If a string is passed, it will be executed in a shell.
If an array is passed, it will be executed in as a command directly.

This breaks compatiblity with previous versions of Minitor-go, but
closer to compatiblity with Minitor-py.
2020-02-19 17:38:06 -08:00
0269ad3512 Add new test for multi-line YAML strings 2020-01-07 10:28:14 -08:00
5c5388d683 Add some config tests
Still some more to add
2019-10-03 18:16:03 -07:00