fix(snapshots): enable the background snapshotter EE-7273 (#11973)
parent
9ee092aa5e
commit
ca9f85a1ff
|
@ -60,6 +60,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"
|
||||||
|
@ -376,9 +377,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