Skip to content

Commit e5f1f8c

Browse files
authored
fix vet errors (#2872)
1 parent 61201b2 commit e5f1f8c

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

‎internal/benchrunner/runners/stream/runner.go‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -605,8 +605,6 @@ func (r *runner) runStreamGenerator(ctx context.Context, scenarioName string) er
605605
return fmt.Errorf("error performing bulk request: %w", err)
606606
}
607607
}
608-
609-
return nil
610608
}
611609

612610
func (r *runner) runBackfillGenerator(ctx context.Context, scenarioName string) error {

‎internal/kibana/enrollmenttokens.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ func (c *Client) getEnrollmentTokens(ctx context.Context, kuery string) ([]Enrol
5353
Items []EnrollmentToken `json:"items"`
5454
Total int `json:"total"`
5555
Page int `json:"page"`
56-
PerPage int `json:"perPage`
56+
PerPage int `json:"perPage"`
5757
}
5858
for {
5959
values := make(url.Values)

0 commit comments

Comments
 (0)