fix: fix task position to use task idx not task group idx
This commit is contained in:
parent
a7c1ca328f
commit
b5744bcf22
@ -126,7 +126,7 @@ func newSeedCmd() *cobra.Command {
|
|||||||
Name: taskName,
|
Name: taskName,
|
||||||
TaskGroupID: taskGroup.TaskGroupID,
|
TaskGroupID: taskGroup.TaskGroupID,
|
||||||
CreatedAt: now,
|
CreatedAt: now,
|
||||||
Position: float64(65535 * (taskGroupIdx + 1)),
|
Position: float64(65535 * (taskIdx + 1)),
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
Loading…
Reference in New Issue
Block a user