mirror of
https://github.com/status-im/consul.git
synced 2025-01-22 11:40:06 +00:00
[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…
x
Reference in New Issue
Block a user