From 411031547a9efb7006a06b729c5b225b5dcb98c4 Mon Sep 17 00:00:00 2001 From: sivchari Date: Fri, 28 Feb 2025 10:24:04 +0900 Subject: [PATCH] enable nofloats linter Signed-off-by: sivchari --- .golangci-kal.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.golangci-kal.yml b/.golangci-kal.yml index 09548d24981b..347470cf7d09 100644 --- a/.golangci-kal.yml +++ b/.golangci-kal.yml @@ -19,6 +19,7 @@ linters-settings: - "conditions" # Ensure conditions have the correct json tags and markers. - "integers" # Ensure only int32 and int64 are used for integers. - "statussubresource" # All root objects that have a `status` field should have a status subresource. + - "nofloats" # Ensure floats are not used. # Per discussion in July 2024, we are keeping phase fields for now. # See https://github.com/kubernetes-sigs/cluster-api/pull/10897#discussion_r1685929508