Skip to content

Commit

Permalink
Revert "lint"
Browse files Browse the repository at this point in the history
This reverts commit 0334fc2.
  • Loading branch information
skonto committed Jan 20, 2025
1 parent cfb93ba commit 7ee1111
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion pkg/queue/protobuf_stats_reporter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ func scrapeProtobufStat(t *testing.T, r *ProtobufStatsReporter) metrics.Stat {
w := httptest.NewRecorder()
r.ServeHTTP(w, nil)
result := w.Result()
defer result.Body.Close()
if result.StatusCode != http.StatusOK {
t.Fatalf("Expected ServeHTTP status %d but was %d", http.StatusOK, result.StatusCode)
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/reconciler/route/route.go
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ func (c *Reconciler) clusterLocalDomainTLS(ctx context.Context, r *v1.Route, tc

orphanCerts, err := c.getOrphanRouteCerts(r, usedDomains, netcfg.CertificateClusterLocalDomain)
if err != nil {
return nil, nil //nolint:nilerr
return nil, nil
}

c.deleteOrphanedCerts(ctx, orphanCerts)
Expand Down

0 comments on commit 7ee1111

Please sign in to comment.