From fe573bbeaccd157249bc24299dc3f8f229814d24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Minier?= Date: Thu, 4 Sep 2025 14:00:17 +0000 Subject: [PATCH] fix: Omit redundant type from variable declaration (QF1011) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reported by staticcheck Signed-off-by: Loïc Minier --- actions/image_partition_action.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actions/image_partition_action.go b/actions/image_partition_action.go index 44cfc14..345febf 100644 --- a/actions/image_partition_action.go +++ b/actions/image_partition_action.go @@ -823,7 +823,7 @@ func (i *ImagePartitionAction) Verify(context *debos.DebosContext) error { num := 1 for idx := range i.Partitions { - var maxLength int = 0 + var maxLength = 0 p := &i.Partitions[idx] p.number = num num++