diff --git a/backend/src/main/java/io/metersphere/dto/KubernetesDTO.java b/backend/src/main/java/io/metersphere/dto/KubernetesDTO.java index 2ad1f92de6..5a964d602a 100644 --- a/backend/src/main/java/io/metersphere/dto/KubernetesDTO.java +++ b/backend/src/main/java/io/metersphere/dto/KubernetesDTO.java @@ -5,7 +5,6 @@ public class KubernetesDTO { private String masterUrl; private String token; private Integer maxConcurrency; - private Boolean validate; public String getMasterUrl() { return masterUrl; @@ -31,11 +30,4 @@ public class KubernetesDTO { this.maxConcurrency = maxConcurrency; } - public Boolean getValidate() { - return validate; - } - - public void setValidate(Boolean validate) { - this.validate = validate; - } } diff --git a/backend/src/main/java/io/metersphere/service/TestResourcePoolService.java b/backend/src/main/java/io/metersphere/service/TestResourcePoolService.java index e9254174cb..f3c4c2a518 100644 --- a/backend/src/main/java/io/metersphere/service/TestResourcePoolService.java +++ b/backend/src/main/java/io/metersphere/service/TestResourcePoolService.java @@ -3,6 +3,7 @@ package io.metersphere.service; import com.alibaba.fastjson.JSON; import io.metersphere.base.domain.TestResource; import io.metersphere.base.domain.TestResourceExample; +import io.metersphere.base.domain.TestResourcePool; import io.metersphere.base.mapper.TestResourceMapper; import io.metersphere.base.mapper.TestResourcePoolMapper; import io.metersphere.base.mapper.ext.ExtTestReourcePoolMapper;