mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-27 07:16:19 +09:00
feat(container): add explicit data workflows and snapshot rollback (#193)
* feat(container): add explicit data workflows and snapshot rollback Make container upgrades and recreation data-safe by adding explicit preserve, export, import, restore, and rollback flows across the backend, SDK, and web UI. * fix(container): resolve go lint issues Fix formatting and lint violations introduced by the container data workflow changes so the Go CI lint job passes cleanly.
This commit is contained in:
@@ -425,7 +425,7 @@ func (s *Service) enqueueDeleteLifecycle(ctx context.Context, botID string) {
|
||||
defer cancel()
|
||||
|
||||
if s.containerLifecycle != nil {
|
||||
if err := s.containerLifecycle.CleanupBotContainer(lifecycleCtx, botID); err != nil {
|
||||
if err := s.containerLifecycle.CleanupBotContainer(lifecycleCtx, botID, false); err != nil {
|
||||
s.logger.Error("bot container cleanup failed",
|
||||
slog.String("bot_id", botID),
|
||||
slog.Any("error", err),
|
||||
|
||||
Reference in New Issue
Block a user