From 9532e1adc06d09aa54b4b34a4c6929e430e0c4ce Mon Sep 17 00:00:00 2001 From: W23123 <1021720039@qq.com> Date: Tue, 24 Mar 2020 16:07:19 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B5=84=E6=BA=90=E6=B1=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/io/metersphere/dto/KubernetesDTO.java | 8 -------- .../io/metersphere/service/TestResourcePoolService.java | 1 + 2 files changed, 1 insertion(+), 8 deletions(-) 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;