Skip to content

Commit

Permalink
fix string
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomperez98 committed Feb 6, 2025
1 parent a14fe4b commit 2edb49b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/app/coroutines/claimTask.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (

func ClaimTask(c gocoro.Coroutine[*t_aio.Submission, *t_aio.Completion, any], r *t_api.Request) (*t_api.Response, error) {
util.Assert(r.ClaimTask.ProcessId != "", "process id must be set")
util.Assert(r.ClaimTask.Ttl >= 0, "ttl must be equal or greater than 0")
util.Assert(r.ClaimTask.Ttl >= 0, "ttl must be greater than or equal to 0")

Check warning on line 19 in internal/app/coroutines/claimTask.go

View check run for this annotation

Codecov / codecov/patch

internal/app/coroutines/claimTask.go#L19

Added line #L19 was not covered by tests

config, ok := c.Get("config").(*system.Config)
if !ok {
Expand Down

0 comments on commit 2edb49b

Please sign in to comment.