From c3845f435959c3ccf545783ae35953cbcad83608 Mon Sep 17 00:00:00 2001 From: Wolfy-J Date: Thu, 5 Jul 2018 16:11:37 -0700 Subject: no color? --- cmd/rr/main.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cmd') diff --git a/cmd/rr/main.go b/cmd/rr/main.go index 03bef9bd..f7101962 100644 --- a/cmd/rr/main.go +++ b/cmd/rr/main.go @@ -36,6 +36,7 @@ import ( "github.com/sirupsen/logrus" "github.com/spf13/cobra" + "github.com/fatih/color" ) var debugMode bool @@ -43,6 +44,7 @@ var debugMode bool func main() { // forcing text based logging rr.Logger.Formatter = &logrus.TextFormatter{ForceColors: true} + color.NoColor = true // provides ability to make local connection to services rr.Container.Register(rpc.ID, &rpc.Service{}) -- cgit v1.2.3