You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by da...@apache.org on 2025/01/13 08:28:53 UTC

(cloudstack) branch 4.19 updated: no retrieval of null hosts (#10175)

This is an automated email from the ASF dual-hosted git repository.

dahn pushed a commit to branch 4.19
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/4.19 by this push:
     new fce77733a5d no retrieval of null hosts (#10175)
fce77733a5d is described below

commit fce77733a5dd030046b20c12c746da0c89ffc2e3
Author: dahn <da...@onecht.net>
AuthorDate: Mon Jan 13 09:28:47 2025 +0100

    no retrieval of null hosts (#10175)
---
 .../src/main/java/com/cloud/deploy/DeploymentPlanningManagerImpl.java   | 2 --
 1 file changed, 2 deletions(-)

diff --git a/server/src/main/java/com/cloud/deploy/DeploymentPlanningManagerImpl.java b/server/src/main/java/com/cloud/deploy/DeploymentPlanningManagerImpl.java
index 1f1a9c22358..ae88a92b3b6 100644
--- a/server/src/main/java/com/cloud/deploy/DeploymentPlanningManagerImpl.java
+++ b/server/src/main/java/com/cloud/deploy/DeploymentPlanningManagerImpl.java
@@ -448,8 +448,6 @@ StateListener<State, VirtualMachine.Event, VirtualMachine>, Configurable {
 
             HostVO host = _hostDao.findById(vm.getLastHostId());
             lastHost = host;
-            _hostDao.loadHostTags(host);
-            _hostDao.loadDetails(host);
             ServiceOfferingDetailsVO offeringDetails = null;
             if (host == null) {
                 s_logger.debug("The last host of this VM cannot be found");