feat: complete daemon operations and recovery tooling
This commit is contained in:
@@ -22,7 +22,7 @@ import (
|
||||
// 若已存在相关活动事务,则尝试复用并续跑。
|
||||
func (u *Updater) Restart(ctx context.Context, report ProgressReporter) (transaction.Transaction, error) {
|
||||
if u.config.Backend.Type == deploymentconfig.BackendTypeContainer {
|
||||
return transaction.Transaction{}, errors.New("restart is not implemented for container backend")
|
||||
return u.RestartContainer(ctx, report)
|
||||
}
|
||||
reportProgress(report, Progress{Message: "Resolving the current native backend release"})
|
||||
active, err := u.store.ActiveTransaction(ctx)
|
||||
|
||||
Reference in New Issue
Block a user