mirror of
https://github.com/kemko/nomad.git
synced 2026-01-04 09:25:46 +03:00
rpc: added configuration for yamux session (#25466)
Fixes: https://github.com/hashicorp/nomad/issues/25380
This commit is contained in:
@@ -480,6 +480,10 @@ func (c *Command) IsValidConfig(config, cmdConfig *Config) bool {
|
||||
)
|
||||
return false
|
||||
}
|
||||
if err := config.RPC.Validate(); err != nil {
|
||||
c.Ui.Error(fmt.Sprintf("rpc block invalid: %v)", err))
|
||||
return false
|
||||
}
|
||||
|
||||
if !config.DevMode {
|
||||
// Ensure that we have the directories we need to run.
|
||||
|
||||
Reference in New Issue
Block a user