diff --git a/internal/libs/autofile/group.go b/internal/libs/autofile/group.go index 7848ef131..23f27c59b 100644 --- a/internal/libs/autofile/group.go +++ b/internal/libs/autofile/group.go @@ -146,7 +146,7 @@ func (g *Group) OnStart() error { func (g *Group) OnStop() { g.ticker.Stop() if err := g.FlushAndSync(); err != nil { - g.Logger.Error("Error flushin to disk", "err", err) + g.Logger.Error("Error flushing to disk", "err", err) } } @@ -160,7 +160,7 @@ func (g *Group) Wait() { // Close closes the head file. The group must be stopped by this moment. func (g *Group) Close() { if err := g.FlushAndSync(); err != nil { - g.Logger.Error("Error flushin to disk", "err", err) + g.Logger.Error("Error flushing to disk", "err", err) } g.mtx.Lock()