From 946ef2d0ddbee7d7b132d20b8dd0ca81be1c57d9 Mon Sep 17 00:00:00 2001 From: Krisztian Litkey Date: Mon, 9 Dec 2024 20:01:21 +0200 Subject: [PATCH] template: golangci-lint fixes. Signed-off-by: Krisztian Litkey --- cmd/plugins/template/policy/template-policy.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/cmd/plugins/template/policy/template-policy.go b/cmd/plugins/template/policy/template-policy.go index 79464fbeb..9333a594b 100644 --- a/cmd/plugins/template/policy/template-policy.go +++ b/cmd/plugins/template/policy/template-policy.go @@ -131,17 +131,10 @@ func (p *policy) ExportResourceData(c cache.Container) map[string]string { return nil } -// Initialize or reinitialize the policy. -func (p *policy) initialize() error { - return nil -} - type NoMetrics struct{} func (*NoMetrics) Describe(chan<- *prometheus.Desc) { - return } func (*NoMetrics) Collect(chan<- prometheus.Metric) { - return }