Skip to content

Commit

Permalink
Use StageStatus_STAGE_FAILURE
Browse files Browse the repository at this point in the history
Signed-off-by: Yoshiki Fujikane <[email protected]>
  • Loading branch information
ffjlabo committed Dec 18, 2023
1 parent 9351080 commit 2594710
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/app/piped/executor/scriptrun/scriptrun.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ type RollbackExecutor struct {
}

func (e *RollbackExecutor) Execute(sig executor.StopSignal) model.StageStatus {
return model.StageStatus_STAGE_NOT_STARTED_YET
e.LogPersister.Infof("Unimplement: rollbacking the script run stage")
return model.StageStatus_STAGE_FAILURE
}

// Register registers this executor factory into a given registerer.
Expand Down

0 comments on commit 2594710

Please sign in to comment.