Skip to content

Commit cb7ca27

Browse files
taoyoungerk8s-publishing-bot
authored andcommitted
cleanup: omit comparison with bool constants
Signed-off-by: tao.yang <[email protected]> Kubernetes-commit: b35357b6c08f21ba0fd312536051394c2567ec79
1 parent 9a91d94 commit cb7ca27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/resource/crd_finder_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ func TestCRDFinderErrors(t *testing.T) {
5656
}
5757
finder := NewCRDFinder(getter)
5858
found, err := finder.HasCRD(schema.GroupKind{Group: "", Kind: "Pod"})
59-
if found == true {
59+
if found {
6060
t.Fatalf("Found the CRD with non-working getter function")
6161
}
6262
if err == nil {

0 commit comments

Comments
 (0)