Skip to content

Commit

Permalink
nit comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Lakshmi Javadekar authored and Lakshmi Javadekar committed Nov 21, 2022
1 parent 9548e5b commit d51895b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/corerp/renderers/kubernetesmetadata/render.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ func mergeKubernetesMetadataAnnotations(options renderers.RenderOptions, currAnn
mergeAnnotations = labels.Merge(mergeAnnotations, appOpts.KubernetesMetadata.Annotations)
}

// Cumulative Env+App Annotations is now merged with input annotations. metaAnnotations and specAnnotations are subsequently merged with the result map.
// Cumulative Env+App Annotations is now merged with input annotations. Existing metaAnnotations and specAnnotations are subsequently merged with the result map.
mergeAnnotations = labels.Merge(mergeAnnotations, currAnnotations)
metaAnnotations = labels.Merge(metaAnnotations, mergeAnnotations)
specAnnotations = labels.Merge(specAnnotations, mergeAnnotations)
Expand All @@ -211,7 +211,7 @@ func mergeKubernetesMetadataLabels(options renderers.RenderOptions, currLabels m
mergeLabels = labels.Merge(mergeLabels, appOpts.KubernetesMetadata.Labels)
}

// Cumulative Env+App Labels is now merged with input labels. metaLabels and specLabels are subsequently merged with the result map.
// Cumulative Env+App Labels is now merged with input labels. Existing metaLabels and specLabels are subsequently merged with the result map.
mergeLabels = labels.Merge(mergeLabels, currLabels)
metaLabels = labels.Merge(metaLabels, mergeLabels)
specLabels = labels.Merge(specLabels, mergeLabels)
Expand Down

0 comments on commit d51895b

Please sign in to comment.