Skip to content

Commit

Permalink
vcenterreceiver updates function comment
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanKurek committed Jun 28, 2024
1 parent 0d07d45 commit e2b7278
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .chloggen/vcenterreceiver_fix_multiple_datacenters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ change_type: bug_fix
component: vcenterreceiver

# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
note: Fixes errors when multiple datacenters in some of the client calls.
note: Fixes errors in some of the client calls for environments containing multiple datacenters.

# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists.
issues: [33734]
Expand Down
4 changes: 2 additions & 2 deletions receiver/vcenterreceiver/scraper.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ func (v *vcenterMetricScraper) scrapeAndProcessAllMetrics(ctx context.Context, e
return errs.Combine()
}

// scrapeDatacenterInventoryListObjects scrapes and store all Datacenter objects with their InventoryLists
// scrapeDatacenterInventoryListObjects scrapes and stores all Datacenter objects with their InventoryLists
func (v *vcenterMetricScraper) scrapeDatacenterInventoryListObjects(
ctx context.Context,
errs *scrapererror.ScrapeErrors,
Expand All @@ -143,7 +143,7 @@ func (v *vcenterMetricScraper) scrapeDatacenterInventoryListObjects(
return dcs
}

// scrapeResourcePoolInventoryListObjects scrapes and store all ResourcePool objects with their InventoryLists
// scrapeResourcePoolInventoryListObjects scrapes and stores all ResourcePool objects with their InventoryLists
func (v *vcenterMetricScraper) scrapeResourcePoolInventoryListObjects(
ctx context.Context,
dcs []*object.Datacenter,
Expand Down

0 comments on commit e2b7278

Please sign in to comment.