From 5b461475f308ef9c720599106235ce3d0855b703 Mon Sep 17 00:00:00 2001 From: Parental Clash Date: Sun, 30 Jun 2024 11:54:00 -0700 Subject: [PATCH] fix a fmt issue --- rules/common/schedule.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rules/common/schedule.go b/rules/common/schedule.go index aba10a31..44166c63 100644 --- a/rules/common/schedule.go +++ b/rules/common/schedule.go @@ -97,10 +97,10 @@ func NewSchedule(schedule string, adapter string) (*Schedule, error) { return nil, fmt.Errorf("could you initial Schedule rule %s, the time format is not correct!", punycode) } if startHour > endHour { - return nil, fmt.Errorf("could you initial Schedule rule %s, the end time should not be earlier than start time s!", punycode) + return nil, fmt.Errorf("could you initial Schedule rule %s, the end time should not be earlier than start time!", punycode) } if startHour == endHour && startMinute > endMinute { - return nil, fmt.Errorf("could you initial Schedule rule %s, the end time should not be earlier than start time s!", punycode) + return nil, fmt.Errorf("could you initial Schedule rule %s, the end time should not be earlier than start time!", punycode) } return &Schedule{ Base: &Base{},