Skip to content

Commit 6fe3271

Browse files
committed
Update 8756 server: fix NPE of unit test passEncRootPlannerHostSupportingEncryptionTest
1 parent b254bb1 commit 6fe3271

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/main/java/com/cloud/deploy/DeploymentPlanningManagerImpl.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -2017,7 +2017,7 @@ public boolean postStateTransitionEvent(StateMachine2.Transition<State, Event> t
20172017
}
20182018

20192019
public static String logDeploymentWithoutException(VirtualMachine vm, DeploymentPlan plan, ExcludeList avoids, DeploymentPlanner planner) {
2020-
return LogUtils.logGsonWithoutException("Trying to deploy VM [%s] and details: Plan [%s]; avoid list [%s] and planner: [%s].", vm, plan, avoids, planner);
2020+
return LogUtils.logGsonWithoutException("Trying to deploy VM [%s] and details: Plan [%s]; avoid list [%s] and planner: [%s].", vm, plan, avoids, planner != null ? planner.getName() : null);
20212021
}
20222022
@Override
20232023
public ConfigKey<?>[] getConfigKeys() {

0 commit comments

Comments
 (0)