File tree Expand file tree Collapse file tree
engine/orchestration/src/main/java/com/cloud/agent/manager Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4040import javax .inject .Inject ;
4141import javax .naming .ConfigurationException ;
4242
43+ import com .cloud .utils .StringUtils ;
4344import org .apache .cloudstack .agent .lb .IndirectAgentLB ;
4445import org .apache .cloudstack .ca .CAManager ;
4546import org .apache .cloudstack .engine .orchestration .service .NetworkOrchestrationService ;
5556import org .apache .commons .collections .MapUtils ;
5657import org .apache .commons .lang3 .BooleanUtils ;
5758import org .apache .commons .lang3 .ObjectUtils ;
58- import org .apache .commons .lang3 .StringUtils ;
5959import org .apache .logging .log4j .ThreadContext ;
6060
6161import com .cloud .agent .AgentManager ;
@@ -2102,7 +2102,7 @@ public int getHostSshPort(HostVO host) {
21022102 _hostDao .loadDetails (host );
21032103 String hostPort = host .getDetail (Host .HOST_SSH_POST );
21042104 int sshPort ;
2105- if (com . cloud . utils . StringUtils .isBlank (hostPort )) {
2105+ if (StringUtils .isBlank (hostPort )) {
21062106 sshPort = KVMHostDiscoverySshPort .valueIn (host .getClusterId ());
21072107 } else {
21082108 sshPort = Integer .parseInt (hostPort );
You can’t perform that action at this time.
0 commit comments