Skip to content

Commit

Permalink
Linter to ensure go-cmp/cmp is used ONLY in tests
Browse files Browse the repository at this point in the history
Signed-off-by: Davanum Srinivas <davanum@gmail.com>

Kubernetes-commit: 4e05bc20db99ff89b2d2205218d24b9935a7fdd7
  • Loading branch information
dims authored and k8s-publishing-bot committed Jan 24, 2025
1 parent 97f3d26 commit de67e02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/consistencydetector/data_consistency_detector.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"sort"
"time"

"github.com/google/go-cmp/cmp"
"github.com/google/go-cmp/cmp" //nolint:depguard

"k8s.io/apimachinery/pkg/api/meta"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
Expand Down

0 comments on commit de67e02

Please sign in to comment.