Skip to content

Commit

Permalink
Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
rooneyshuman committed Dec 4, 2023
1 parent dea79a5 commit 80188b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion azure/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func (p *Provider) Name() string { return "Azure" }
// Meta returns the provider metadata.
func (p *Provider) Meta() unused.Meta { return p.meta }

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

// NewProvider creates a new Azure [unused.Provider].
Expand Down
2 changes: 1 addition & 1 deletion cmd/unused-exporter/exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ func (e *exporter) pollProvider(p unused.Provider) {
}

addMetric(e.info, 1)
addMetric(e.dur, int64(dur.Microseconds()))
addMetric(e.dur, dur.Microseconds())
addMetric(e.suc, success)

for ns, di := range diskInfoByNamespace {
Expand Down

0 comments on commit 80188b8

Please sign in to comment.