From bd7726b6587efa947edb7e8938d3457cb9f27de9 Mon Sep 17 00:00:00 2001 From: abe garcia Date: Tue, 9 Jan 2024 11:55:41 -0500 Subject: [PATCH] fix linting --- internal/kubernetes/unstructured.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/kubernetes/unstructured.go b/internal/kubernetes/unstructured.go index 7a788d2..ee4d591 100644 --- a/internal/kubernetes/unstructured.go +++ b/internal/kubernetes/unstructured.go @@ -62,6 +62,7 @@ func ToUnstructured(manifest map[string]interface{}) (unstructured.Unstructured, // If annotations exist in manifest and are map[string]interface, attempt to convert to map[string]string annotations := make(map[string]string, len(m)) + for k, v := range annotationsMap { if str, ok := v.(string); ok { annotations[k] = str