From c0c01303f43664de7c5e071564a0326040a8e0ee Mon Sep 17 00:00:00 2001 From: yuemian <--list> Date: Wed, 4 Sep 2024 11:17:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ctstack/plugin/provider/compute/TianyiPhysicalProvider.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bocloud.ctstack.plugin/src/main/java/com/bocloud/ctstack/plugin/provider/compute/TianyiPhysicalProvider.java b/bocloud.ctstack.plugin/src/main/java/com/bocloud/ctstack/plugin/provider/compute/TianyiPhysicalProvider.java index 4388d12f..52004a04 100644 --- a/bocloud.ctstack.plugin/src/main/java/com/bocloud/ctstack/plugin/provider/compute/TianyiPhysicalProvider.java +++ b/bocloud.ctstack.plugin/src/main/java/com/bocloud/ctstack/plugin/provider/compute/TianyiPhysicalProvider.java @@ -92,7 +92,7 @@ public class TianyiPhysicalProvider extends TianyiProvider { if (model.getCycleCount() != null) { jsonObject.put("cycleCount", model.getCycleCount()); } - jsonObject.put("cycleType", model.getName()); + jsonObject.put("cycleType", model.getCycleType()); jsonObject.put("orderCount", model.getOrderCount()); Result result = doPost(apiUrl, jsonObject); log.info("物理机创建结果:" + JSON.toJSONString(result));