mirror of https://github.com/status-im/consul.git
[LINT] Close resp.Body to avoid linter complaining (#7600)
This commit is contained in:
parent
93509690be
commit
d1d016d61d
|
@ -51,6 +51,7 @@ func TestUiIndex(t *testing.T) {
|
|||
if err != nil {
|
||||
t.Fatalf("err: %v", err)
|
||||
}
|
||||
defer resp.Body.Close()
|
||||
|
||||
// Verify the response
|
||||
if resp.StatusCode != 200 {
|
||||
|
|
Loading…
Reference in New Issue