From be6edd6f904c01d83040bfe62581debd87de6c85 Mon Sep 17 00:00:00 2001 From: Hans Hasselberg Date: Fri, 28 Jun 2019 00:57:29 +0200 Subject: [PATCH] agent: check for gossip encrypt key (#6037) --- command/agent/agent.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/agent/agent.go b/command/agent/agent.go index a13cebb5e..1ca91531a 100644 --- a/command/agent/agent.go +++ b/command/agent/agent.go @@ -238,7 +238,7 @@ func (c *cmd) run(args []string) int { c.UI.Info(fmt.Sprintf(" Cluster Addr: %v (LAN: %d, WAN: %d)", config.AdvertiseAddrLAN, config.SerfPortLAN, config.SerfPortWAN)) c.UI.Info(fmt.Sprintf(" Encrypt: Gossip: %v, TLS-Outgoing: %v, TLS-Incoming: %v, Auto-Encrypt-TLS: %t", - config.EncryptKey, config.VerifyOutgoing, config.VerifyIncoming, config.AutoEncryptTLS || config.AutoEncryptAllowTLS)) + config.EncryptKey != "", config.VerifyOutgoing, config.VerifyIncoming, config.AutoEncryptTLS || config.AutoEncryptAllowTLS)) // Enable log streaming c.UI.Info("")