mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-12-26 05:19:05 +01:00
Remove legacy from metricrepo kind switchcase
This commit is contained in:
parent
107fe24f78
commit
18ed5c8839
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user