Skip to content

Commit 5d4e304

Browse files
committed
Generator: Tests: Fix the common setup
1 parent 2748feb commit 5d4e304

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/cmd/generate/commands/gentests/generator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ func (g *Generator) genCommonSetup() {
347347
}
348348
349349
{
350-
res, _ = es.Indices.DeleteDataStream("_all")
350+
res, _ = es.Indices.DeleteDataStream([]string{"_all"})
351351
if res != nil && res.Body != nil { defer res.Body.Close() }
352352
}
353353

0 commit comments

Comments
 (0)