mirror of https://github.com/hashicorp/consul
Merge pull request #1920 from hashicorp/f-remove-warning
Removes a bogus warning for Windows.pull/1881/head
commit
711d7a0ad4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue