good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit 70fbc873 authored by Péter Szilágyi's avatar Péter Szilágyi Committed by GitHub
Browse files

Merge pull request #16071 from holiman/lintfix

node, rpc: fix linter issues
parents 589b603a 6c6247a6
No related branches found
No related tags found
No related merge requests found
......@@ -324,7 +324,7 @@ func (n *Node) startIPC(apis []rpc.API) error {
return err
}
go func() {
n.log.Info("IPC endpoint opened", "url", fmt.Sprintf("%s", n.ipcEndpoint))
n.log.Info("IPC endpoint opened", "url", n.ipcEndpoint)
for {
conn, err := listener.Accept()
......
......@@ -245,7 +245,6 @@ func (h *virtualHostHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
return
}
http.Error(w, "invalid host specified", http.StatusForbidden)
return
}
func newVHostHandler(vhosts []string, next http.Handler) http.Handler {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment