Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[zmarkdown] Fix getting processus status in Munin controller (#501)
Since status `online` is coded as `0`, `0` was evaluated as `false` and thus the fallback value `3` was taken. Now, we use a ternary operator to test if the status is in the dictionnary to map to a number.
- Loading branch information