Skip to content

Commit 0ad32d3

Browse files
kielbarrykaralabe
authored andcommitted
ethstats: fix last golint warning (#16837)
1 parent 68b0d30 commit 0ad32d3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎ethstats/ethstats.go‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ type nodeInfo struct {
362362

363363
// authMsg is the authentication infos needed to login to a monitoring server.
364364
type authMsg struct {
365-
Id string `json:"id"`
365+
ID string `json:"id"`
366366
Info nodeInfo `json:"info"`
367367
Secret string `json:"secret"`
368368
}
@@ -381,7 +381,7 @@ func (s *Service) login(conn *websocket.Conn) error {
381381
protocol = fmt.Sprintf("les/%d", les.ClientProtocolVersions[0])
382382
}
383383
auth := &authMsg{
384-
Id: s.node,
384+
ID: s.node,
385385
Info: nodeInfo{
386386
Name: s.node,
387387
Node: infos.Name,

0 commit comments

Comments
 (0)