1
0
Fork 0
mirror of https://github.com/Luzifer/mondash.git synced 2024-12-23 04:21:18 +00:00

Fix: Use type Status instead of string

This commit is contained in:
Knut Ahlers 2016-09-06 18:51:00 +02:00
parent 3210519660
commit 8e93466add
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -17,7 +17,7 @@ type Status string
// Collection of available status strings // Collection of available status strings
const ( const (
StatusOK = "OK" StatusOK Status = "OK"
StatusWarning = "Warning" StatusWarning = "Warning"
StatusCritical = "Critical" StatusCritical = "Critical"
StatusUnknown = "Unknown" StatusUnknown = "Unknown"