mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-12-31 10:56:15 +01:00
Introduce updstream TS pull
This commit is contained in:
@@ -288,6 +288,11 @@ func initSubsystems() error {
|
||||
return fmt.Errorf("initializing metricdata repository: %w", err)
|
||||
}
|
||||
|
||||
// Initialize upstream metricdata repositories for pull worker
|
||||
if err := metricdata.InitUpstreamRepos(); err != nil {
|
||||
return fmt.Errorf("initializing upstream metricdata repositories: %w", err)
|
||||
}
|
||||
|
||||
// Handle database re-initialization
|
||||
if flagReinitDB {
|
||||
if err := importer.InitDB(); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user