mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 02:12:23 +00:00
ethstats: 1 golint warning, none remaining
This commit is contained in:
parent
38c7eb0f26
commit
82e58525d3
1 changed files with 2 additions and 2 deletions
|
|
@ -362,7 +362,7 @@ type nodeInfo struct {
|
||||||
|
|
||||||
// authMsg is the authentication infos needed to login to a monitoring server.
|
// authMsg is the authentication infos needed to login to a monitoring server.
|
||||||
type authMsg struct {
|
type authMsg struct {
|
||||||
Id string `json:"id"`
|
ID string `json:"id"`
|
||||||
Info nodeInfo `json:"info"`
|
Info nodeInfo `json:"info"`
|
||||||
Secret string `json:"secret"`
|
Secret string `json:"secret"`
|
||||||
}
|
}
|
||||||
|
|
@ -381,7 +381,7 @@ func (s *Service) login(conn *websocket.Conn) error {
|
||||||
protocol = fmt.Sprintf("les/%d", les.ClientProtocolVersions[0])
|
protocol = fmt.Sprintf("les/%d", les.ClientProtocolVersions[0])
|
||||||
}
|
}
|
||||||
auth := &authMsg{
|
auth := &authMsg{
|
||||||
Id: s.node,
|
ID: s.node,
|
||||||
Info: nodeInfo{
|
Info: nodeInfo{
|
||||||
Name: s.node,
|
Name: s.node,
|
||||||
Node: infos.Name,
|
Node: infos.Name,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue