Skip to content

Commit

Permalink
fix: add condition_snapshot_success to .EventName (#410)
Browse files Browse the repository at this point in the history
  • Loading branch information
gSpera authored Aug 6, 2024
1 parent 49e46b0 commit c45f0f3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/orchestrator/tasks/hookvars.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ func (v HookVars) EventName(cond v1.Hook_Condition) string {
return "snapshot error"
case v1.Hook_CONDITION_SNAPSHOT_WARNING:
return "snapshot warning"
case v1.Hook_CONDITION_SNAPSHOT_SUCCESS:
return "snapshot success"
case v1.Hook_CONDITION_CHECK_START:
return "check start"
case v1.Hook_CONDITION_CHECK_ERROR:
Expand Down

0 comments on commit c45f0f3

Please sign in to comment.