[MM-54318] Add file storage information to support package (#24474)
* Reorder stats in support package struct * Add file storage information to support package * Add clusterID * Change method name to DriverName * Ordering * Fix test
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
4482ba0fd0
Коммит
b2f36c7cdf
@@ -68,6 +68,10 @@ func copyFile(src, dst string) (err error) {
|
||||
return
|
||||
}
|
||||
|
||||
func (b *LocalFileBackend) DriverName() string {
|
||||
return driverLocal
|
||||
}
|
||||
|
||||
func (b *LocalFileBackend) TestConnection() error {
|
||||
f := bytes.NewReader([]byte("testingwrite"))
|
||||
if _, err := writeFileLocally(f, filepath.Join(b.directory, TestFilePath)); err != nil {
|
||||
|
||||
Ссылка в новой задаче
Block a user