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

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

View file

@ -2,9 +2,9 @@
Changes adhere to [semantic versioning](https://semver.org).
## [3.0.1] - UNRELEASED
## [3.0.1] - 2024/06/10
* ...
* Fixed finding proper remaining Action invocations by their state
## [3.0.0] - 2024/06/10
@ -63,6 +63,8 @@ Changes adhere to [semantic versioning](https://semver.org).
* 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
[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 {
states := make([]string, 0, len(state))
if len(states) > 0 {
if len(state) > 0 {
for _, s := range state {
states = append(states, s.Value())
}