Skip to content

Commit 9a47b6d

Browse files
author
Kate Osborn
committed
Fix lint issues
1 parent a6abe4b commit 9a47b6d

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

tests/suite/graceful_recovery_test.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,6 @@ func getUnexpectedNginxErrorLogs(ngfPodName string) string {
400400
errorLogs := getNginxErrorLogs(ngfPodName)
401401

402402
for _, line := range strings.Split(errorLogs, "\n") {
403-
404403
if !slices.ContainsFunc(expectedErrStrings, func(s string) bool {
405404
return strings.Contains(line, s)
406405
}) {
@@ -423,7 +422,6 @@ func checkNGFContainerLogsForErrors(ngfPodName string) {
423422
for _, line := range strings.Split(ngfLogs, "\n") {
424423
Expect(line).ToNot(ContainSubstring("\"level\":\"error\""), line)
425424
}
426-
427425
}
428426

429427
func checkLeaderLeaseChange(originalLeaseName string) error {

tests/suite/reconfig_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -598,12 +598,12 @@ type reconfigTestResults struct {
598598
TestDescription string
599599
TimeToReadyTotal string
600600
TimeToReadyAvgSingle string
601+
NGINXErrorLogs string
601602
EventsBuckets []framework.Bucket
602603
ReloadBuckets []framework.Bucket
603604
NumResources int
604605
NGINXReloads int
605606
NGINXReloadAvgTime int
606-
NGINXErrorLogs string
607607
EventsCount int
608608
EventsAvgTime int
609609
}

0 commit comments

Comments
 (0)