File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
src/presentation/views/commands/show Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -165,15 +165,15 @@ impl EnvironmentInfoView {
165165 "Environment has been destroyed. Create a new environment to redeploy." . to_string ( )
166166 }
167167 "provision_failed" => {
168- "Provisioning failed. Check error details and retry 'provision' ." . to_string ( )
168+ "Provisioning failed. Run 'destroy' and create a new environment ." . to_string ( )
169169 }
170170 "configure_failed" => {
171- "Configuration failed. Check error details and retry 'configure' ." . to_string ( )
171+ "Configuration failed. Run 'destroy' and create a new environment ." . to_string ( )
172172 }
173173 "release_failed" => {
174- "Release failed. Check error details and retry 'release' ." . to_string ( )
174+ "Release failed. Run 'destroy' and create a new environment ." . to_string ( )
175175 }
176- "run_failed" => "Run failed. Check error details and retry 'run' ." . to_string ( ) ,
176+ "run_failed" => "Run failed. Run 'destroy' and create a new environment ." . to_string ( ) ,
177177 "destroy_failed" => {
178178 "Destruction failed. Check error details and retry 'destroy'." . to_string ( )
179179 }
@@ -351,7 +351,7 @@ mod tests {
351351 fn it_should_handle_failed_states ( ) {
352352 let guidance = EnvironmentInfoView :: get_next_step_guidance ( "provision_failed" ) ;
353353 assert ! ( guidance. contains( "failed" ) ) ;
354- assert ! ( guidance. contains( "retry " ) ) ;
354+ assert ! ( guidance. contains( "destroy " ) ) ;
355355 }
356356 }
357357}
You can’t perform that action at this time.
0 commit comments