rpc: added configuration for yamux session (#25466)

Fixes: https://github.com/hashicorp/nomad/issues/25380
This commit is contained in:
Nikita Eliseev
2025-04-02 17:58:23 +03:00
committed by GitHub
parent 1a1ccec8b2
commit 76fb3eb9a1
21 changed files with 318 additions and 10 deletions

View File

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