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:
R.B. Boyer 2019-08-29 16:52:13 -05:00 committed by GitHub
parent 4a2867a814
commit c5e1faaddb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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