mirror of
https://github.com/status-im/consul.git
synced 2025-02-24 11:28:40 +00:00
agent: fix go vet issue
This commit is contained in:
parent
6f361f5ea0
commit
764dabfcf7
@ -96,11 +96,9 @@ RPC:
|
|||||||
info.Checks = make([]*structs.HealthCheck, 0)
|
info.Checks = make([]*structs.HealthCheck, 0)
|
||||||
}
|
}
|
||||||
return info, nil
|
return info, nil
|
||||||
} else {
|
|
||||||
resp.WriteHeader(http.StatusNotFound)
|
|
||||||
return nil, nil
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
resp.WriteHeader(http.StatusNotFound)
|
||||||
return nil, nil
|
return nil, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user