linter fix

This commit is contained in:
Mihail Slobodyanuk 2022-12-19 14:42:09 +02:00
parent 4a4bb2741e
commit a827ec125d

View file

@ -331,7 +331,7 @@ func (a *AdminSocket) StartHttpServer(configFn string, nc *config.NodeConfig) {
} }
fmt.Fprint(w, string(b[:])) fmt.Fprint(w, string(b[:]))
case "POST": case "POST":
handlePost() _ = handlePost()
case "PUT": case "PUT":
if handleDelete() == nil { if handleDelete() == nil {
if handlePost() == nil { if handlePost() == nil {