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:
parent
3210519660
commit
8e93466add
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue