From fc8e79a6e207752edb3bd030f783dffd7d41b547 Mon Sep 17 00:00:00 2001 From: chenhao <852066789@qq.com> Date: Thu, 4 Sep 2025 11:26:34 +0800 Subject: [PATCH] =?UTF-8?q?refactor(nex-be):=20=E4=BF=AE=E6=94=B9=E8=99=9A?= =?UTF-8?q?=E6=8B=9F=E6=9C=BA=20CPU=20=E5=8F=82=E6=95=B0=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E6=A0=B8=E5=BF=83=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将 ImageUpdateReq 中的 vcpus 参数从 cpuTotal 改为 cpuCoreTotal - 此修改更准确地反映了虚拟机的 CPU 配置,提高了代码的准确性和可维护性 --- .../project/service/impl/ImageVirtualMachinesServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nex-be/src/main/java/com/unisinsight/project/service/impl/ImageVirtualMachinesServiceImpl.java b/nex-be/src/main/java/com/unisinsight/project/service/impl/ImageVirtualMachinesServiceImpl.java index 6abe3fc..6399d4e 100644 --- a/nex-be/src/main/java/com/unisinsight/project/service/impl/ImageVirtualMachinesServiceImpl.java +++ b/nex-be/src/main/java/com/unisinsight/project/service/impl/ImageVirtualMachinesServiceImpl.java @@ -207,7 +207,7 @@ public class ImageVirtualMachinesServiceImpl extends ServiceImpl