build: fix gosec and go vet lint errors for Go 1.26

Signed-off-by: Sunnatillo <sunnat.samadov@est.tech>
This commit is contained in:
Sunnatillo committed 2026-05-15 21:45:06 +03:00
1 parent 3775bf206a
commit 0bd299aa60
21 files changed
+26 -11

No files matched your search

+1 -1
View File
@@ -473,7 +473,7 @@ func GetSpec(obj client.Object) interface{} {
val := reflect.ValueOf(obj)
// If obj is a pointer, get the element
if val.Kind() == reflect.Ptr {
if val.Kind() == reflect.Pointer {
val = val.Elem()
}