Fix go vet warning

This commit is contained in:
Simon Marsh 2023-01-27 12:37:20 +00:00
parent 8d9ecb85f0
commit d633be2908

View File

@ -90,7 +90,7 @@ func webBackendCommunicator(endpoint string, command string) func(w http.Respons
if (command == "generic") && !(urlCommands == "memory" || urlCommands == "status") {
renderPageTemplate(w, r, " - "+html.EscapeString(endpoint+" show "+urlCommands),
"<h2>'show "+urlCommands+"' not supported</h2>")
template.HTML("<h2>'show "+urlCommands+"' not supported</h2>"))
return
}