mirror of https://github.com/portainer/portainer
fix(snapshots): enable the background snapshotter EE-7273 (#11972)
parent
91a477d9fb
commit
dc3e20acac
|
@ -61,6 +61,7 @@ import (
|
||||||
"github.com/portainer/portainer/api/http/security"
|
"github.com/portainer/portainer/api/http/security"
|
||||||
"github.com/portainer/portainer/api/internal/authorization"
|
"github.com/portainer/portainer/api/internal/authorization"
|
||||||
edgestackservice "github.com/portainer/portainer/api/internal/edge/edgestacks"
|
edgestackservice "github.com/portainer/portainer/api/internal/edge/edgestacks"
|
||||||
|
"github.com/portainer/portainer/api/internal/snapshot"
|
||||||
"github.com/portainer/portainer/api/internal/ssl"
|
"github.com/portainer/portainer/api/internal/ssl"
|
||||||
"github.com/portainer/portainer/api/internal/upgrade"
|
"github.com/portainer/portainer/api/internal/upgrade"
|
||||||
k8s "github.com/portainer/portainer/api/kubernetes"
|
k8s "github.com/portainer/portainer/api/kubernetes"
|
||||||
|
@ -380,9 +381,7 @@ func (server *Server) Start() error {
|
||||||
}
|
}
|
||||||
|
|
||||||
go shutdown(server.ShutdownCtx, httpsServer)
|
go shutdown(server.ShutdownCtx, httpsServer)
|
||||||
|
go snapshot.NewBackgroundSnapshotter(server.DataStore, server.ReverseTunnelService)
|
||||||
// Temporarily disable for EE-6905 until we have a solution for the snapshotter
|
|
||||||
// go snapshot.NewBackgroundSnapshotter(server.DataStore, server.ReverseTunnelService)
|
|
||||||
|
|
||||||
return httpsServer.ListenAndServeTLS("", "")
|
return httpsServer.ListenAndServeTLS("", "")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue