CastawayLabs / cachet-monitor

Distributed monitoring plugin for CachetHQ
https://castawaylabs.github.io/cachet-monitor/
MIT License
439 stars 127 forks source link

fix component status parsing #81

Closed axnsan12 closed 5 years ago

axnsan12 commented 6 years ago

The Cachet API returns component status as a string, but cachet-monitor attempts to parse it as int, resulting in "cannot unmarshal string into Go value of type int". This applies at least as early as cachet 2.3.12 - 29/06/2017.