Skip to content

Commit

Permalink
template:: golangci-lint fixes.
Browse files Browse the repository at this point in the history
Signed-off-by: Krisztian Litkey <[email protected]>
  • Loading branch information
klihub committed Dec 9, 2024
1 parent b84e164 commit 39da724
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions cmd/plugins/template/policy/template-policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 39da724

Please sign in to comment.