Linter to ensure go-cmp/cmp is used ONLY in tests

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
This commit is contained in:
Davanum Srinivas
2025-01-24 17:03:29 -05:00
parent c5c19a6487
commit 4e05bc20db
31 changed files with 72 additions and 28 deletions

View File

@@ -24,7 +24,7 @@ import (
"strconv"
"sync"
"github.com/google/go-cmp/cmp"
"github.com/google/go-cmp/cmp" //nolint:depguard
"k8s.io/klog/v2"
v1 "k8s.io/api/core/v1"