Fix typo
This commit is contained in:
+1
-1
@@ -82,7 +82,7 @@ func runNavidrome() {
|
|||||||
|
|
||||||
g, ctx := errgroup.WithContext(ctx)
|
g, ctx := errgroup.WithContext(ctx)
|
||||||
g.Go(startServer(ctx))
|
g.Go(startServer(ctx))
|
||||||
g.Go(startSignaler(ctx))
|
g.Go(startSignaller(ctx))
|
||||||
g.Go(startScheduler(ctx))
|
g.Go(startScheduler(ctx))
|
||||||
g.Go(schedulePeriodicScan(ctx))
|
g.Go(schedulePeriodicScan(ctx))
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
// Windows and Plan9 don't support SIGUSR1, so we don't need to start a signaler
|
// Windows and Plan9 don't support SIGUSR1, so we don't need to start a signaler
|
||||||
func startSignaler(ctx context.Context) func() error {
|
func startSignaller(ctx context.Context) func() error {
|
||||||
return func() error {
|
return func() error {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ import (
|
|||||||
|
|
||||||
const triggerScanSignal = syscall.SIGUSR1
|
const triggerScanSignal = syscall.SIGUSR1
|
||||||
|
|
||||||
func startSignaler(ctx context.Context) func() error {
|
func startSignaller(ctx context.Context) func() error {
|
||||||
log.Info(ctx, "Starting signaler")
|
log.Info(ctx, "Starting signaler")
|
||||||
scanner := GetScanner()
|
scanner := GetScanner()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user