mirror of
https://github.com/status-im/consul.git
synced 2025-02-02 00:46:43 +00:00
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
3be88df207
commit
7deaba63e1
@ -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…
x
Reference in New Issue
Block a user