diff --git a/internal/backend/metadata_file.go b/internal/backend/metadata_file.go index 03682b5fa3..94cce654a8 100644 --- a/internal/backend/metadata_file.go +++ b/internal/backend/metadata_file.go @@ -14,7 +14,7 @@ const metadataSuffix = ".metadata" type metadataFile struct{} func (m metadataFile) write(path string, encoded []byte) error { - return os.WriteFile(path+metadataSuffix, encoded, 0o600) + return writeFile(path+metadataSuffix, encoded, 0o600) } func (m metadataFile) read(path string) ([]byte, error) {