Merge pull request #16352 from chlins/fix/exporter-cmd-typo

fix: correct typo in exporter cmd
This commit is contained in:
Chenyu Zhang 2022-02-17 09:43:27 +08:00 committed by GitHub
commit 9d1e788f8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,7 +64,7 @@ func main() {
CacheCleanInterval: viper.GetInt64("exporter.cache_clean_interval"),
}
harborExporter := exporter.NewExporter(exporterOpt)
log.Infof("Starting harbor_exporter with port=%v path=%v metrics=%v max_request=%v tls=%v cert=%v key=%v cache_time=%v clean_internal=%v",
log.Infof("Starting harbor_exporter with port=%v path=%v metrics=%v max_request=%v tls=%v cert=%v key=%v cache_time=%v clean_interval=%v",
exporterOpt.Port,
exporterOpt.MetricsPath,
exporterOpt.ExporterMetricsEnabled,