Skip to content

Commit

Permalink
Update 8756 server: fix NPE of unit test passEncRootPlannerHostSuppor…
Browse files Browse the repository at this point in the history
…tingEncryptionTest
  • Loading branch information
weizhouapache committed Mar 14, 2024
1 parent b254bb1 commit 6fe3271
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2017,7 +2017,7 @@ public boolean postStateTransitionEvent(StateMachine2.Transition<State, Event> t
}

public static String logDeploymentWithoutException(VirtualMachine vm, DeploymentPlan plan, ExcludeList avoids, DeploymentPlanner planner) {
return LogUtils.logGsonWithoutException("Trying to deploy VM [%s] and details: Plan [%s]; avoid list [%s] and planner: [%s].", vm, plan, avoids, planner);
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);
}
@Override
public ConfigKey<?>[] getConfigKeys() {
Expand Down

0 comments on commit 6fe3271

Please sign in to comment.