mirror of
https://github.com/kemko/nomad.git
synced 2026-01-04 09:25:46 +03:00
Don't print atlas
This commit is contained in:
@@ -490,12 +490,6 @@ func (c *Command) Run(args []string) int {
|
||||
info["log level"] = config.LogLevel
|
||||
info["server"] = strconv.FormatBool(config.Server.Enabled)
|
||||
info["region"] = fmt.Sprintf("%s (DC: %s)", config.Region, config.Datacenter)
|
||||
if config.Atlas != nil && config.Atlas.Infrastructure != "" {
|
||||
info["atlas"] = fmt.Sprintf("(Infrastructure: '%s' Join: %v)",
|
||||
config.Atlas.Infrastructure, config.Atlas.Join)
|
||||
} else {
|
||||
info["atlas"] = "<disabled>"
|
||||
}
|
||||
|
||||
// Sort the keys for output
|
||||
infoKeys := make([]string, 0, len(info))
|
||||
|
||||
Reference in New Issue
Block a user