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 }