Skip to content

Commit e51dfa3

Browse files
committed
commands/.../scorecard: correctly pass ctx in ts.Run
1 parent cf4c1ff commit e51dfa3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

commands/operator-sdk/cmd/scorecard/test_definitions.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ func (ts *TestSuite) TotalScore() (score int) {
235235

236236
func (ts *TestSuite) Run(ctx context.Context) {
237237
for _, test := range ts.Tests {
238-
ts.TestResults = append(ts.TestResults, test.Run(context.TODO()))
238+
ts.TestResults = append(ts.TestResults, test.Run(ctx))
239239
}
240240
}
241241

0 commit comments

Comments
 (0)