We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e0551f commit 1025ed8Copy full SHA for 1025ed8
azure/provider.go
@@ -25,7 +25,7 @@ func (p *Provider) Name() string { return "Azure" }
25
// Meta returns the provider metadata.
26
func (p *Provider) Meta() unused.Meta { return p.meta }
27
28
-// Id returns the subscription for this provider.
+// ID returns the subscription for this provider.
29
func (p *Provider) ID() string { return p.client.SubscriptionID }
30
31
// NewProvider creates a new Azure [unused.Provider].
cmd/unused-exporter/exporter.go
@@ -182,7 +182,7 @@ func (e *exporter) pollProvider(p unused.Provider) {
182
}
183
184
addMetric(e.info, 1)
185
- addMetric(e.dur, int64(dur.Microseconds()))
+ addMetric(e.dur, dur.Microseconds())
186
addMetric(e.suc, success)
187
188
for ns, di := range diskInfoByNamespace {
0 commit comments