1
0
Fork 0
mirror of https://github.com/Luzifer/mondash.git synced 2024-12-22 20:11: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,10 +17,10 @@ type Status string
// Collection of available status strings
const (
StatusOK = "OK"
StatusWarning = "Warning"
StatusCritical = "Critical"
StatusUnknown = "Unknown"
StatusOK Status = "OK"
StatusWarning = "Warning"
StatusCritical = "Critical"
StatusUnknown = "Unknown"
)
// Client represents an accessor to the MonDash API