diff --git a/helm-toolkit/templates/snippets/_prometheus_service_annotations.tpl b/helm-toolkit/templates/snippets/_prometheus_service_annotations.tpl
index 138d25a33b..005ae45d96 100644
--- a/helm-toolkit/templates/snippets/_prometheus_service_annotations.tpl
+++ b/helm-toolkit/templates/snippets/_prometheus_service_annotations.tpl
@@ -22,7 +22,6 @@ limitations under the License.
 
 {{- define "helm-toolkit.snippets.prometheus_service_annotations" -}}
 {{- $endpoint := index . 0 -}}
-{{- $context := index . 1 -}}
 prometheus.io/scrape: {{ $endpoint.scrape | quote }}
 prometheus.io/scheme: {{ $endpoint.scheme.default | quote }}
 prometheus.io/path: {{ $endpoint.path.default | quote }}