Merge pull request #15693 from jmhbnz/fix-preallocate-static-analysis

Fix gofmt for client/pkg/fileutil/preallocate.go
storage-doc
Benjamin Wang 2023-04-11 07:05:40 +08:00 committed by GitHub
commit ddcba8329a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -19,8 +19,8 @@ import (
"os"
)
// Preallocate tries to allocate the space for given file. This
// operation is only supported on darwin and linux by a few
// Preallocate tries to allocate the space for given file. This
// operation is only supported on darwin and linux by a few
// filesystems (APFS, btrfs, ext4, etc.).
// If the operation is unsupported, no error will be returned.
// Otherwise, the error encountered will be returned.