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 authored and askervin committed Dec 10, 2024
1 parent 331b1ec commit 9e1bbc9
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 9e1bbc9

Please sign in to comment.