Update info output key name

This commit is contained in:
Jeff Mitchell committed 2021-02-02 18:42:52 -05:00
1 parent 02cd972043
commit 7cf74596bf
1 file changed
+2 -2
+2 -2
View File
@@ -289,8 +289,8 @@ func (c *Command) Run(args []string) int {
c.UI.Error(err.Error())
return 1
}
c.InfoKeys = append(c.InfoKeys, "public addr")
c.Info["public addr"] = c.Config.Worker.PublicAddr
c.InfoKeys = append(c.InfoKeys, "public proxy addr")
c.Info["public proxy addr"] = c.Config.Worker.PublicAddr
}
if c.Config.Controller != nil {
for _, ln := range c.Config.Listeners {