[#766] Fix misspell linter error

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
Alex Vanin 2021-08-24 13:52:22 +03:00 committed by Alex Vanin
parent 30738549ef
commit 53f031e98c
2 changed files with 3 additions and 3 deletions

View file

@ -135,7 +135,7 @@ func generateConfigExample(appDir string, credSize int) (string, error) {
err = t.Execute(buf, tmpl) err = t.Execute(buf, tmpl)
if err != nil { 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 return buf.String(), nil

View file

@ -94,7 +94,7 @@ func newBlobovniczaTree(c *cfg) (blz *blobovniczas) {
zap.String("error", err.Error()), zap.String("error", err.Error()),
) )
} else { } else {
c.log.Debug("blobovnicza succesfully closed on evict", c.log.Debug("blobovnicza successfully closed on evict",
zap.String("id", key.(string)), zap.String("id", key.(string)),
) )
} }
@ -750,7 +750,7 @@ func (b *blobovniczas) updateAndGet(p string, old *uint64) (blobovniczaWithIndex
b.lruMtx.Unlock() b.lruMtx.Unlock()
b.active[p] = active 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))), zap.String("path", path.Join(p, u64ToHexString(active.ind))),
) )