mirror of
https://github.com/status-im/consul.git
synced 2025-02-09 04:14:50 +00:00
Removes a bogus warning for Windows.
This commit is contained in:
parent
9a215c9a93
commit
d386019be1
@ -9,7 +9,6 @@ import (
|
|||||||
"os/signal"
|
"os/signal"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"regexp"
|
"regexp"
|
||||||
"runtime"
|
|
||||||
"strings"
|
"strings"
|
||||||
"syscall"
|
"syscall"
|
||||||
"time"
|
"time"
|
||||||
@ -294,11 +293,6 @@ func (c *Command) readConfig() *Config {
|
|||||||
c.Ui.Error("WARNING: Bootstrap mode enabled! Do not enable unless necessary")
|
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
|
// Set the version info
|
||||||
config.Revision = c.Revision
|
config.Revision = c.Revision
|
||||||
config.Version = c.Version
|
config.Version = c.Version
|
||||||
|
Loading…
x
Reference in New Issue
Block a user