Skip to content
Snippets Groups Projects
Verified Commit a2bfa64b authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

fix: missing time type by creating #27

parent 7d668250
No related branches found
No related tags found
No related merge requests found
...@@ -273,6 +273,9 @@ func CreateJobAndSchedulerFromPersistence(jobImport JobPersistence, manager *Man ...@@ -273,6 +273,9 @@ func CreateJobAndSchedulerFromPersistence(jobImport JobPersistence, manager *Man
case "instant": case "instant":
scheduler = &InstantScheduler{} scheduler = &InstantScheduler{}
case "time":
scheduler = &TimeScheduler{Time: *jobImport.Scheduler.Time}
default: default:
return nil, nil, ErrUnknownSchedulerType return nil, nil, ErrUnknownSchedulerType
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment