Skip to content

Commit

Permalink
changed commment and removed akward wording
Browse files Browse the repository at this point in the history
  • Loading branch information
Dabnsky committed Jun 11, 2024
1 parent d2486c6 commit a4e1366
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion component/file_cache/file_cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -1316,7 +1316,7 @@ func (fc *FileCache) TruncateFile(options internal.TruncateFileOptions) error {
}
} else {
// If size is not 0 then we need to open the file and then truncate it
// downloadFile will provide download if file was not present in local system
// downloadFile will download if file was not present in local system
h, err = fc.OpenFile(internal.OpenFileOptions{Name: options.Name, Flags: os.O_RDWR, Mode: fc.defaultPermission})
if err != nil {
log.Err("FileCache::TruncateFile : Error calling OpenFile with %s [%s]", options.Name, err.Error())
Expand Down

0 comments on commit a4e1366

Please sign in to comment.