mirror of
https://github.com/oneclickvirt/ecs.git
synced 2025-10-05 15:27:08 +08:00
fix: 修复pingtest和speedtest在无root权限环境下的鉴权问题
This commit is contained in:
@@ -29,7 +29,8 @@ func DiskTest(language, testMethod, testPath string, isMultiCheck bool, autoChan
|
||||
res += disk.FioTest(language, isMultiCheck, testPath)
|
||||
}
|
||||
default:
|
||||
res = "Unsupported test method specified.\n"
|
||||
res = "Unsupported test method specified, switching to DD for testing.\n"
|
||||
res += disk.DDTest(language, isMultiCheck, testPath)
|
||||
}
|
||||
}
|
||||
//fmt.Println("--------------------------------------------------")
|
||||
|
Reference in New Issue
Block a user