mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-11-05 18:15:06 +01:00
Move avro into memorystore. Refactor
Does not compile
This commit is contained in:
@@ -244,7 +244,7 @@ func serverInit() {
|
||||
apiHandle.MountConfigApiRoutes(configapi)
|
||||
apiHandle.MountFrontendApiRoutes(frontendapi)
|
||||
|
||||
if config.InternalCCMSFlag {
|
||||
if memorystore.InternalCCMSFlag {
|
||||
apiHandle.MountMetricStoreApiRoutes(metricstoreapi)
|
||||
}
|
||||
|
||||
@@ -369,7 +369,7 @@ func serverShutdown() {
|
||||
server.Shutdown(context.Background())
|
||||
|
||||
// Archive all the metric store data
|
||||
if config.InternalCCMSFlag {
|
||||
if memorystore.InternalCCMSFlag {
|
||||
memorystore.Shutdown()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user