Skip to content

Commit

Permalink
node, rpc: fix linter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
holiman committed Feb 12, 2018
1 parent 589b603 commit 6c6247a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion node/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
1 change: 0 additions & 1 deletion rpc/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 6c6247a

Please sign in to comment.