Skip to content

Commit

Permalink
FIX: conversion of types in grouping stage of engine
Browse files Browse the repository at this point in the history
  • Loading branch information
theycallmemac committed Oct 18, 2020
1 parent be431d9 commit 12b9aed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion odin-engine/pkg/jobs/ticker.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ func groupItems(items []Node) map[int][]Node {
output := make(map[int][]Node)
for _, item := range items {
for i := 0; i < len(item.Schedule); i++ {
if len(string(item.Schedule[i])) != 0 {
if len(fmt.Sprint(item.Schedule[i])) != 0 {
output[item.Schedule[i]] = append(output[item.Schedule[i]], item)
}
}
Expand Down

0 comments on commit 12b9aed

Please sign in to comment.