[LINT] Close resp.Body to avoid linter complaining (#7600)
This commit is contained in:
parent
ab14c969cd
commit
a7fbf003c1
|
@ -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