From 0ad32d3be70ca27044b56b5eee9c1b3bd38e2d69 Mon Sep 17 00:00:00 2001 From: kiel barry Date: Wed, 30 May 2018 01:36:02 -0700 Subject: ethstats: fix last golint warning (#16837) --- ethstats/ethstats.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ethstats') diff --git a/ethstats/ethstats.go b/ethstats/ethstats.go index c11601435..a4d35044c 100644 --- a/ethstats/ethstats.go +++ b/ethstats/ethstats.go @@ -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"` } @@ -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, -- cgit v1.2.3