We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd02289 commit 45253a9Copy full SHA for 45253a9
coderd/crontab/crontab.go
@@ -44,7 +44,7 @@ func (s cronSchedule) Next(t time.Time) time.Time {
44
return s.sched.Next(t)
45
}
46
47
-func Parse(spec string) (WeeklySchedule, error) {
+func Parse(spec string) (*cronSchedule, error) {
48
specSched, err := defaultParser.Parse(spec)
49
if err != nil {
50
return nil, xerrors.Errorf("parse schedule: %w", err)
0 commit comments