From f0b346a528ff932800f6a94f5adcc4688fa8068e Mon Sep 17 00:00:00 2001 From: Mariano Cano Date: Fri, 11 Oct 2019 19:26:09 -0700 Subject: [PATCH] Fix return of host configurations. --- api/ssh.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/ssh.go b/api/ssh.go index ad649e43..d5ad735a 100644 --- a/api/ssh.go +++ b/api/ssh.go @@ -339,7 +339,7 @@ func (h *caHandler) SSHConfig(w http.ResponseWriter, r *http.Request) { case provisioner.SSHUserCert: config.UserTemplates = ts case provisioner.SSHHostCert: - config.UserTemplates = ts + config.HostTemplates = ts default: WriteError(w, InternalServerError(errors.New("it should hot get here"))) return