Skip to content

Commit bd25a7a

Browse files
committed
fix lint issues
Signed-off-by: Markus Blaschke <[email protected]>
1 parent c2a4299 commit bd25a7a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

azuresdk/armclient/client.tags.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ func (tagmgr *ArmClientTagManager) GetTagsForResource(ctx context.Context, resou
284284
return nil, err
285285
}
286286

287-
return tags.TagsResource.Properties, nil
287+
return tags.Properties, nil
288288
}
289289

290290
func (tagmgr *ArmClientTagManager) ParseTagConfig(tags []string) (*ResourceTagManager, error) {

prometheus/collector/collector.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ func (c *Collector) GetMetricList(name string) *MetricList {
499499
// cleanupMetricLists resets all registered metric vec
500500
func (c *Collector) cleanupMetricLists() {
501501
for _, metric := range c.data.Metrics {
502-
metric.MetricList.Reset()
502+
metric.Reset()
503503
}
504504
}
505505

0 commit comments

Comments
 (0)