Skip to content

Commit e4be040

Browse files
committed
fix eror in host shortname
1 parent 5993644 commit e4be040

File tree

1 file changed

+1
-1
lines changed
  • qDup/src/main/java/io/hyperfoil/tools/qdup

1 file changed

+1
-1
lines changed

qDup/src/main/java/io/hyperfoil/tools/qdup/Host.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ public String getShortHostName(){
516516
if(alias!=null){
517517
return alias;
518518
}else if(hostName!=null && hostName.indexOf(".")>-1){
519-
return hostName.substring(0,hostName.indexOf(".")-1);
519+
return hostName.substring(0,hostName.indexOf("."));
520520
}else{
521521
return hostName;
522522
}

0 commit comments

Comments
 (0)