From 736364178aeaaa889110b3bd16061401a8aab9a8 Mon Sep 17 00:00:00 2001 From: rene <41963722+renaynay@users.noreply.github.com> Date: Mon, 5 Jul 2021 16:00:09 +0200 Subject: [PATCH] fix typo in log message (#6653) Co-authored-by: Callum Waters --- internal/libs/autofile/group.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()