hotfix(3.0.1): Fixed finding proper remaining Action invocations by their state
Some checks failed
/ build (push) Has been cancelled

This commit is contained in:
Varakh 2024-06-11 00:04:11 +02:00
parent abc78036d0
commit f8e7282cda
2 changed files with 4 additions and 2 deletions

View file

@ -4,7 +4,7 @@ Changes adhere to [semantic versioning](https://semver.org).
## [3.0.1] - UNRELEASED ## [3.0.1] - UNRELEASED
* ... * Fixed finding proper remaining Action invocations by their state
## [3.0.0] - 2024/06/10 ## [3.0.0] - 2024/06/10
@ -63,6 +63,8 @@ Changes adhere to [semantic versioning](https://semver.org).
* Initial release * Initial release
[3.0.1]: https://git.myservermanager.com/varakh/upda/releases/tag/3.0.1
[3.0.0]: https://git.myservermanager.com/varakh/upda/releases/tag/3.0.0 [3.0.0]: https://git.myservermanager.com/varakh/upda/releases/tag/3.0.0
[2.0.1]: https://git.myservermanager.com/varakh/upda/releases/tag/2.0.1 [2.0.1]: https://git.myservermanager.com/varakh/upda/releases/tag/2.0.1

View file

@ -226,7 +226,7 @@ func (r *actionInvocationDbRepo) deleteByUpdatedAtBeforeAndStates(time time.Time
func translateActionInvocationState(state ...api.ActionInvocationState) []string { func translateActionInvocationState(state ...api.ActionInvocationState) []string {
states := make([]string, 0, len(state)) states := make([]string, 0, len(state))
if len(states) > 0 { if len(state) > 0 {
for _, s := range state { for _, s := range state {
states = append(states, s.Value()) states = append(states, s.Value())
} }