From 32dcfe73e76a2388a4d866051c9678883a29d3b5 Mon Sep 17 00:00:00 2001 From: Ana Hobden Date: Mon, 5 Dec 2022 12:10:28 -0800 Subject: [PATCH] Planner explain output fix (#92) --- src/action/stateful.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/action/stateful.rs b/src/action/stateful.rs index 8d5c4b6..d9969f0 100644 --- a/src/action/stateful.rs +++ b/src/action/stateful.rs @@ -26,7 +26,7 @@ impl StatefulAction> { /// A description of what this action would do during execution pub fn describe_execute(&self) -> Vec { match self.state { - ActionState::Uncompleted | ActionState::Skipped => { + ActionState::Completed | ActionState::Skipped => { vec![] }, _ => self.action.execute_description(), @@ -35,7 +35,7 @@ impl StatefulAction> { /// A description of what this action would do during revert pub fn describe_revert(&self) -> Vec { match self.state { - ActionState::Completed | ActionState::Skipped => { + ActionState::Uncompleted | ActionState::Skipped => { vec![] }, _ => self.action.revert_description(),