Skip to content

Commit 8850ee7

Browse files
committed
Format main.go
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
1 parent 2b5d86b commit 8850ee7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/podsync/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ func main() {
201201
for _, _feed := range cfg.Feeds {
202202
// Track if this feed has an explicit cron schedule
203203
hasExplicitCronSchedule := _feed.CronSchedule != ""
204-
204+
205205
if _feed.CronSchedule == "" {
206206
_feed.CronSchedule = fmt.Sprintf("@every %s", _feed.UpdatePeriod.String())
207207
}
@@ -215,7 +215,7 @@ func main() {
215215

216216
m[cronFeed.ID] = cronID
217217
log.Debugf("-> %s (update '%s')", cronFeed.ID, cronFeed.CronSchedule)
218-
218+
219219
// Only perform initial update if no explicit cron schedule is configured
220220
// This prevents unwanted updates when using fixed schedules in Docker deployments
221221
if !hasExplicitCronSchedule {

0 commit comments

Comments
 (0)