mirror of https://github.com/hashicorp/consul
agent: fix go vet issue
parent
6f361f5ea0
commit
764dabfcf7
|
@ -96,11 +96,9 @@ RPC:
|
|||
info.Checks = make([]*structs.HealthCheck, 0)
|
||||
}
|
||||
return info, nil
|
||||
} else {
|
||||
resp.WriteHeader(http.StatusNotFound)
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
resp.WriteHeader(http.StatusNotFound)
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue