Skip to content

Commit 148970c

Browse files
authored
Merge pull request #324 from Contextualist/fix-pr317-reg
Fix two regressions introduced by PR #317
2 parents 7a69ddb + 59ea55d commit 148970c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

cmd/podsync/main.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,10 @@ func main() {
155155
return
156156
}
157157

158+
// Queue of feeds to update
159+
updates := make(chan *feed.Config, 16)
160+
defer close(updates)
161+
158162
group, ctx := errgroup.WithContext(ctx)
159163
defer func() {
160164
if err := group.Wait(); err != nil && (err != context.Canceled && err != http.ErrServerClosed) {
@@ -163,10 +167,6 @@ func main() {
163167
log.Info("gracefully stopped")
164168
}()
165169

166-
// Queue of feeds to update
167-
updates := make(chan *feed.Config, 16)
168-
defer close(updates)
169-
170170
// Create Cron
171171
c := cron.New(cron.WithChain(cron.SkipIfStillRunning(cron.DiscardLogger)))
172172
m := make(map[string]cron.EntryID)

pkg/fs/local.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313

1414
// LocalConfig is the storage configuration for local file system
1515
type LocalConfig struct {
16-
DataDir string `yaml:"data_dir"`
16+
DataDir string `toml:"data_dir"`
1717
}
1818

1919
// Local implements local file storage

0 commit comments

Comments
 (0)