Skip to content

Commit 1025ed8

Browse files
committed
Fix lint errors
1 parent 4e0551f commit 1025ed8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

azure/provider.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ func (p *Provider) Name() string { return "Azure" }
2525
// Meta returns the provider metadata.
2626
func (p *Provider) Meta() unused.Meta { return p.meta }
2727

28-
// Id returns the subscription for this provider.
28+
// ID returns the subscription for this provider.
2929
func (p *Provider) ID() string { return p.client.SubscriptionID }
3030

3131
// NewProvider creates a new Azure [unused.Provider].

cmd/unused-exporter/exporter.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ func (e *exporter) pollProvider(p unused.Provider) {
182182
}
183183

184184
addMetric(e.info, 1)
185-
addMetric(e.dur, int64(dur.Microseconds()))
185+
addMetric(e.dur, dur.Microseconds())
186186
addMetric(e.suc, success)
187187

188188
for ns, di := range diskInfoByNamespace {

0 commit comments

Comments
 (0)