feat: recover interrupted installation preparation safely
This commit is contained in:
@@ -92,7 +92,7 @@ func installationApplyCommand(ctx context.Context, installationPath string, args
|
||||
result, err := installapply.Run(ctx, installapply.Request{PlanPath: planPath, InstallationPath: installationPath}, runner, check)
|
||||
write(result)
|
||||
if err != nil {
|
||||
if result.WorkspacePreparation != nil && result.WorkspacePreparation.Code == "schema_review_required" {
|
||||
if result.NeedsReview() {
|
||||
return 3
|
||||
}
|
||||
return 1
|
||||
|
||||
Reference in New Issue
Block a user