From 6116e844164b2aebfe2cb577a4b5fc93eb689559 Mon Sep 17 00:00:00 2001 From: Steve Wilkerson Date: Thu, 11 Jan 2018 18:03:55 -0600 Subject: [PATCH] Remove unneeded context in prometheus service annotation Removes an unused context declaration from the prometheus service annotation template in helm-toolkit Change-Id: I118b352d2b5a80fc43f27d7f3f154b61e5406f8c --- .../templates/snippets/_prometheus_service_annotations.tpl | 1 - 1 file changed, 1 deletion(-) 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 }}