Skip to content

Commit

Permalink
ethstats: fix last golint warning (#16837)
Browse files Browse the repository at this point in the history
  • Loading branch information
kielbarry authored and karalabe committed May 30, 2018
1 parent 68b0d30 commit 0ad32d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ethstats/ethstats.go
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ type nodeInfo struct {

// authMsg is the authentication infos needed to login to a monitoring server.
type authMsg struct {
Id string `json:"id"`
ID string `json:"id"`
Info nodeInfo `json:"info"`
Secret string `json:"secret"`
}
Expand All @@ -381,7 +381,7 @@ func (s *Service) login(conn *websocket.Conn) error {
protocol = fmt.Sprintf("les/%d", les.ClientProtocolVersions[0])
}
auth := &authMsg{
Id: s.node,
ID: s.node,
Info: nodeInfo{
Name: s.node,
Node: infos.Name,
Expand Down

0 comments on commit 0ad32d3

Please sign in to comment.