[MM-55409] Enable revive linter on enterprise code (#25391)

Этот коммит содержится в:
Ben Schumacher
2023-11-10 15:24:12 +01:00
коммит произвёл GitHub
родитель 8e84adb176
Коммит 612e4458ef
4 изменённых файлов: 10 добавлений и 8 удалений

Просмотреть файл

@@ -159,7 +159,7 @@ func newFileBackend(settings FileBackendSettings, canBeCloud bool) (FileBackend,
// TryWriteFileContext checks if the file backend supports context writes and passes the context in that case.
// Should the file backend not support contexts, it just calls WriteFile instead. This can be used to disable
// the timeouts for long writes (like exports).
func TryWriteFileContext(fb FileBackend, ctx context.Context, fr io.Reader, path string) (int64, error) {
func TryWriteFileContext(ctx context.Context, fb FileBackend, fr io.Reader, path string) (int64, error) {
type ContextWriter interface {
WriteFileContext(context.Context, io.Reader, string) (int64, error)
}