[ci] fix: go-fmt fails on master branch (#6906)

This commit is contained in:
rerorero 2019-12-09 10:30:46 +09:00 committed by Matt Keeler
parent 26cf9e2860
commit 3653855f13

View file

@ -322,7 +322,6 @@ func (r *DeregisterRequest) RequestDatacenter() string {
return r.Datacenter
}
func (r *DeregisterRequest) UnmarshalJSON(data []byte) error {
type Alias DeregisterRequest
aux := &struct {
@ -338,7 +337,6 @@ func (r *DeregisterRequest) UnmarshalJSON(data []byte) error {
return nil
}
// QuerySource is used to pass along information about the source node
// in queries so that we can adjust the response based on its network
// coordinates.