test: ensure the node name is a valid dns name (#6424)
The space in the node name was making every test emit a useless warning.
This commit is contained in:
parent
4a2867a814
commit
c5e1faaddb
|
@ -348,7 +348,7 @@ func TestConfig(sources ...config.Source) *config.RuntimeConfig {
|
||||||
bootstrap = true
|
bootstrap = true
|
||||||
server = true
|
server = true
|
||||||
node_id = "` + nodeID + `"
|
node_id = "` + nodeID + `"
|
||||||
node_name = "Node ` + nodeID + `"
|
node_name = "Node-` + nodeID + `"
|
||||||
connect {
|
connect {
|
||||||
enabled = true
|
enabled = true
|
||||||
ca_config {
|
ca_config {
|
||||||
|
|
Loading…
Reference in New Issue