Remove legacy from metricrepo kind switchcase

This commit is contained in:
Christoph Kluge 2022-03-29 15:32:53 +02:00
parent 107fe24f78
commit 18ed5c8839

View File

@ -51,8 +51,6 @@ func Init(jobArchivePath string, disableArchive bool) error {
mdr = &CCMetricStore{} mdr = &CCMetricStore{}
case "influxdb": case "influxdb":
mdr = &InfluxDBv2DataRepository{} mdr = &InfluxDBv2DataRepository{}
case "legacyinfluxdb":
mdr = &LegacyInfluxDBv2DataRepository{}
case "test": case "test":
mdr = &TestMetricDataRepository{} mdr = &TestMetricDataRepository{}
default: default: