Removes a bogus warning for Windows.

This commit is contained in:
James Phillips 2016-04-05 18:02:17 -07:00
parent 59b356143b
commit 07e7d551f9
1 changed files with 0 additions and 6 deletions

View File

@ -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