From c1fc6ae524e7f9eddb6879b102594f5ee624f837 Mon Sep 17 00:00:00 2001 From: Victor Castell Date: Fri, 4 May 2018 23:26:06 +0200 Subject: [PATCH] Fix typo --- cron/tz.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cron/tz.go b/cron/tz.go index 6faf937ac..359dbe6cb 100644 --- a/cron/tz.go +++ b/cron/tz.go @@ -11,7 +11,7 @@ type timezoneAwareSchedule struct { } func (schedule *timezoneAwareSchedule) Next(t time.Time) time.Time { - return schedule.underlingSchedule.Next(t.In(schedule.targetedTimezone)) + return schedule.underlyingSchedule.Next(t.In(schedule.targetedTimezone)) } // Wrap a schedule inside a timezoneAwareSchedule. timezone string