Skip to content

Commit

Permalink
Fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
kate-osborn committed Jan 3, 2025
1 parent a6abe4b commit 9a47b6d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions tests/suite/graceful_recovery_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,6 @@ func getUnexpectedNginxErrorLogs(ngfPodName string) string {
errorLogs := getNginxErrorLogs(ngfPodName)

for _, line := range strings.Split(errorLogs, "\n") {

if !slices.ContainsFunc(expectedErrStrings, func(s string) bool {
return strings.Contains(line, s)
}) {
Expand All @@ -423,7 +422,6 @@ func checkNGFContainerLogsForErrors(ngfPodName string) {
for _, line := range strings.Split(ngfLogs, "\n") {
Expect(line).ToNot(ContainSubstring("\"level\":\"error\""), line)
}

}

func checkLeaderLeaseChange(originalLeaseName string) error {
Expand Down
2 changes: 1 addition & 1 deletion tests/suite/reconfig_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -598,12 +598,12 @@ type reconfigTestResults struct {
TestDescription string
TimeToReadyTotal string
TimeToReadyAvgSingle string
NGINXErrorLogs string
EventsBuckets []framework.Bucket
ReloadBuckets []framework.Bucket
NumResources int
NGINXReloads int
NGINXReloadAvgTime int
NGINXErrorLogs string
EventsCount int
EventsAvgTime int
}
Expand Down

0 comments on commit 9a47b6d

Please sign in to comment.