From 8e93466addfb1b7ee6bd165aeb7fa2a3d595beb2 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Tue, 6 Sep 2016 18:51:00 +0200 Subject: [PATCH] Fix: Use type Status instead of string --- client/client.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/client.go b/client/client.go index e695cef..ef6ea78 100644 --- a/client/client.go +++ b/client/client.go @@ -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