Logs typos (#10018)

This commit is contained in:
msementsov
2026-06-19 09:09:01 -07:00
committed by GitHub
parent 638f6ff433
commit 60ecdd7a2f
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -194,7 +194,7 @@ func (c *commandFsVerify) verifyProcessMetadata(path string, wg *sync.WaitGroup)
return nil
}
if *c.verbose {
fmt.Fprintf(c.writer, "file: %s needles:%d verifed\n", entryPath, chunkCount)
fmt.Fprintf(c.writer, "file: %s needles:%d verified\n", entryPath, chunkCount)
}
fileCount++
return nil
@@ -312,7 +312,7 @@ func (c *commandFsVerify) verifyTraverseBfs(path string) (fileCount uint64, errC
itemPath := string(i.path)
if c.verifyEntry(itemPath, i.chunks, itemErrCount, &wg) {
if *c.verbose {
fmt.Fprintf(c.writer, "file: %s needles:%d verifed\n", itemPath, len(i.chunks))
fmt.Fprintf(c.writer, "file: %s needles:%d verified\n", itemPath, len(i.chunks))
}
fileCount++
}
+1 -1
View File
@@ -225,7 +225,7 @@ func (c *commandVolumeFsck) Do(args []string, commandEnv *CommandEnv, writer io.
}
}
if *c.verbose {
fmt.Fprintf(c.writer, "dn %+v filtred %d volumes and locations.\n", dataNodeId, len(dataNodeVolumeIdToVInfo[dataNodeId]))
fmt.Fprintf(c.writer, "dn %+v filtered %d volumes and locations.\n", dataNodeId, len(dataNodeVolumeIdToVInfo[dataNodeId]))
}
return nil
})