mirror of
https://github.com/tailscale/tailscale.git
synced 2025-12-03 02:21:58 +00:00
derp: remove JSON struct tags in comments
They don't work in comments. Added a test too to show that there's no change in behavior. (It does case insensitive matching on parse anyway)
This commit is contained in:
@@ -712,7 +712,7 @@ func (s *Server) sendServerKey(bw *bufio.Writer) error {
|
||||
}
|
||||
|
||||
type serverInfo struct {
|
||||
Version int // `json:"version,omitempty"`
|
||||
Version int `json:"version,omitempty"`
|
||||
}
|
||||
|
||||
func (s *Server) sendServerInfo(bw *bufio.Writer, clientKey key.Public) error {
|
||||
|
||||
Reference in New Issue
Block a user