Fix go vet warning
This commit is contained in:
parent
8d9ecb85f0
commit
d633be2908
@ -90,7 +90,7 @@ func webBackendCommunicator(endpoint string, command string) func(w http.Respons
|
|||||||
|
|
||||||
if (command == "generic") && !(urlCommands == "memory" || urlCommands == "status") {
|
if (command == "generic") && !(urlCommands == "memory" || urlCommands == "status") {
|
||||||
renderPageTemplate(w, r, " - "+html.EscapeString(endpoint+" show "+urlCommands),
|
renderPageTemplate(w, r, " - "+html.EscapeString(endpoint+" show "+urlCommands),
|
||||||
"<h2>'show "+urlCommands+"' not supported</h2>")
|
template.HTML("<h2>'show "+urlCommands+"' not supported</h2>"))
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user