From d386019be1a9bf056292a91c7ae68f536ef2a07c Mon Sep 17 00:00:00 2001 From: James Phillips Date: Tue, 5 Apr 2016 18:02:17 -0700 Subject: [PATCH] Removes a bogus warning for Windows. --- command/agent/command.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/command/agent/command.go b/command/agent/command.go index ce65752e42..4f049872f7 100644 --- a/command/agent/command.go +++ b/command/agent/command.go @@ -9,7 +9,6 @@ import ( "os/signal" "path/filepath" "regexp" - "runtime" "strings" "syscall" "time" @@ -294,11 +293,6 @@ func (c *Command) readConfig() *Config { c.Ui.Error("WARNING: Bootstrap mode enabled! Do not enable unless necessary") } - // Warn if using windows as a server - if config.Server && runtime.GOOS == "windows" { - c.Ui.Error("WARNING: Windows is not recommended as a Consul server. Do not use in production.") - } - // Set the version info config.Revision = c.Revision config.Version = c.Version