multi: repleace ioutil.ReadFile

This commit is contained in:
erik
2023-06-13 21:22:44 +07:00
committed by ErikEk
parent 619c8f4eb8
commit ab83343c87
23 changed files with 55 additions and 62 deletions

View File

@@ -218,7 +218,7 @@ func lastCompactionDate(dbFile string) (time.Time, error) {
return zeroTime, nil
}
tsBytes, err := ioutil.ReadFile(tsFile)
tsBytes, err := os.ReadFile(tsFile)
if err != nil {
return zeroTime, err
}