Merge pull request #1331 from breed808/service_spelling

fix: Fix spelling error in service collector
This commit is contained in:
Ben Reedy 2023-11-11 11:51:03 +10:00 committed by GitHub
commit e9fdfdc1eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -277,7 +277,7 @@ func (c *serviceCollector) collectAPI(ch chan<- prometheus.Metric) error {
// Get Service Configuration.
serviceConfig, err := serviceManager.Config()
if err != nil {
_ = level.Warn(c.logger).Log("msg", fmt.Sprintf("Get ervice %s config error: %#v", service, err))
_ = level.Warn(c.logger).Log("msg", fmt.Sprintf("Get service %s config error: %#v", service, err))
continue
}