diff --git a/internal/release/v2/util/kind_sorter.go b/internal/release/v2/util/kind_sorter.go index 9db7bd69d..000fbf1b6 100644 --- a/internal/release/v2/util/kind_sorter.go +++ b/internal/release/v2/util/kind_sorter.go @@ -161,7 +161,6 @@ func lessByKind( kindB string, ordering map[string]int, ) bool { - first, aok := ordering[kindA] second, bok := ordering[kindB] diff --git a/pkg/release/v1/util/kind_sorter.go b/pkg/release/v1/util/kind_sorter.go index 8b12760e6..ae8dae76a 100644 --- a/pkg/release/v1/util/kind_sorter.go +++ b/pkg/release/v1/util/kind_sorter.go @@ -158,7 +158,6 @@ func sortHooksByKind(hooks []*release.Hook, ordering KindSortOrder) []*release.H } func lessByKind(kindA string, kindB string, ordering map[string]int) bool { - first, aok := ordering[kindA] second, bok := ordering[kindB]