Browse Source

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.
pull/6428/head
R.B. Boyer 5 years ago committed by GitHub
parent
commit
7deaba63e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      agent/testagent.go

2
agent/testagent.go

@ -348,7 +348,7 @@ func TestConfig(sources ...config.Source) *config.RuntimeConfig {
bootstrap = true
server = true
node_id = "` + nodeID + `"
node_name = "Node ` + nodeID + `"
node_name = "Node-` + nodeID + `"
connect {
enabled = true
ca_config {

Loading…
Cancel
Save