From 53f031e98c020b5a258af3963517518ff2bfdaf0 Mon Sep 17 00:00:00 2001 From: Alex Vanin Date: Tue, 24 Aug 2021 13:52:22 +0300 Subject: [PATCH] [#766] Fix misspell linter error Signed-off-by: Alex Vanin --- cmd/neofs-adm/internal/modules/config/config.go | 2 +- pkg/local_object_storage/blobstor/blobovnicza.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/neofs-adm/internal/modules/config/config.go b/cmd/neofs-adm/internal/modules/config/config.go index bbc5b0b7c..bba9e5257 100644 --- a/cmd/neofs-adm/internal/modules/config/config.go +++ b/cmd/neofs-adm/internal/modules/config/config.go @@ -135,7 +135,7 @@ func generateConfigExample(appDir string, credSize int) (string, error) { err = t.Execute(buf, tmpl) if err != nil { - return "", fmt.Errorf("generating config from tempalte: %w", err) + return "", fmt.Errorf("generating config from template: %w", err) } return buf.String(), nil diff --git a/pkg/local_object_storage/blobstor/blobovnicza.go b/pkg/local_object_storage/blobstor/blobovnicza.go index 69b927693..1aec63f2f 100644 --- a/pkg/local_object_storage/blobstor/blobovnicza.go +++ b/pkg/local_object_storage/blobstor/blobovnicza.go @@ -94,7 +94,7 @@ func newBlobovniczaTree(c *cfg) (blz *blobovniczas) { zap.String("error", err.Error()), ) } else { - c.log.Debug("blobovnicza succesfully closed on evict", + c.log.Debug("blobovnicza successfully closed on evict", zap.String("id", key.(string)), ) } @@ -750,7 +750,7 @@ func (b *blobovniczas) updateAndGet(p string, old *uint64) (blobovniczaWithIndex b.lruMtx.Unlock() b.active[p] = active - b.log.Debug("blobovnicza succesfully activated", + b.log.Debug("blobovnicza successfully activated", zap.String("path", path.Join(p, u64ToHexString(active.ind))), )