From 1f2d1d4f75a157d7bb3e3813420186fdfd15904e Mon Sep 17 00:00:00 2001 From: Matt Keeler Date: Wed, 23 Jan 2019 13:14:28 -0500 Subject: [PATCH] Fix typo that prevented using the default ca domain for tls cert creation (#5258) --- command/tls/cert/create/tls_cert_create.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/tls/cert/create/tls_cert_create.go b/command/tls/cert/create/tls_cert_create.go index f15c632994..01b337e11e 100644 --- a/command/tls/cert/create/tls_cert_create.go +++ b/command/tls/cert/create/tls_cert_create.go @@ -38,7 +38,7 @@ type cmd struct { func (c *cmd) init() { c.flags = flag.NewFlagSet("", flag.ContinueOnError) - c.flags.StringVar(&c.ca, "ca", "#DOMAINa#-agent-ca.pem", "Provide path to the ca. Defaults to #DOMAIN#-agent-ca.pem.") + c.flags.StringVar(&c.ca, "ca", "#DOMAIN#-agent-ca.pem", "Provide path to the ca. Defaults to #DOMAIN#-agent-ca.pem.") c.flags.StringVar(&c.key, "key", "#DOMAIN#-agent-ca-key.pem", "Provide path to the key. Defaults to #DOMAIN#-agent-ca-key.pem.") c.flags.BoolVar(&c.server, "server", false, "Generate server certificate.") c.flags.BoolVar(&c.client, "client", false, "Generate client certificate.")