获取资源池校验
This commit is contained in:
parent
1d6662e0fa
commit
028deeae71
|
@ -189,6 +189,10 @@ public class TestResourcePoolService {
|
||||||
List<TestResourcePoolDTO> testResourcePools = listResourcePools(request);
|
List<TestResourcePoolDTO> testResourcePools = listResourcePools(request);
|
||||||
// 重新校验 pool
|
// 重新校验 pool
|
||||||
for (TestResourcePoolDTO pool : testResourcePools) {
|
for (TestResourcePoolDTO pool : testResourcePools) {
|
||||||
|
// 手动设置成无效的, 排除
|
||||||
|
if (INVALID.name().equals(pool.getStatus())) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
try {
|
try {
|
||||||
updateTestResourcePool(pool);
|
updateTestResourcePool(pool);
|
||||||
} catch (MSException e) {
|
} catch (MSException e) {
|
||||||
|
|
Loading…
Reference in New Issue