diff --git a/.chloggen/vcenterreceiver_fix_multiple_datacenters.yaml b/.chloggen/vcenterreceiver_fix_multiple_datacenters.yaml index 4c29a8eeaf77..f4cd6b9e28c4 100644 --- a/.chloggen/vcenterreceiver_fix_multiple_datacenters.yaml +++ b/.chloggen/vcenterreceiver_fix_multiple_datacenters.yaml @@ -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] diff --git a/receiver/vcenterreceiver/scraper.go b/receiver/vcenterreceiver/scraper.go index a62185b3c092..a1a358b038fa 100644 --- a/receiver/vcenterreceiver/scraper.go +++ b/receiver/vcenterreceiver/scraper.go @@ -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, @@ -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,