diff --git a/cloudeye-exporter b/cloudeye-exporter index f90e5201..d054d3c5 100755 Binary files a/cloudeye-exporter and b/cloudeye-exporter differ diff --git a/collector/collector.go b/collector/collector.go index 313fc956..0032a5f8 100644 --- a/collector/collector.go +++ b/collector/collector.go @@ -186,7 +186,6 @@ func (exporter *BaseHuaweiCloudExporter) Collect(ch chan<- prometheus.Metric) { exporter.txnKey = fmt.Sprintf("%s-%s-%s", strings.Join(exporter.Namespaces, "-"), exporter.From, exporter.To) finishChan := make(chan bool) - defer close(finishChan) serviceTotal := 0 logs.Logger.Debugf("[%s] Start Collect to data", exporter.txnKey) for _, namespace := range exporter.Namespaces {