Commit Graph

6 Commits

Author SHA1 Message Date
Ian Fijolek
e4e6618af1 Adds ability to run specified alerts on startup
This is helpful to determine if your alerts are valid before an actual failure
2024-04-03 11:50:49 -07:00
Ian Fijolek
9072d97bb8 Make linters happy 2022-01-24 10:39:53 -08:00
Ian Fijolek
f0e179851f Update linting and a test case 2021-01-08 18:31:22 -05:00
Ian Fijolek
25c5179d3d Switch to a single key for command and command shell
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
Ian Fijolek
6b9edf75d7 Move panics up to main function 2019-10-04 16:17:36 -07:00
Ian Fijolek
f99ee9891e Add some test cases to cover main
These don't include any asserts, but they do check panics
2019-10-04 15:46:49 -07:00