agent: fix go vet issue
This commit is contained in:
parent
06c494d4c6
commit
3fcf1bc9e2
|
@ -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