forked from lix-project/hydra
Handle IP addresses as machine names
This commit is contained in:
parent
fbd48f5684
commit
62b1b095ad
|
@ -644,7 +644,7 @@ BLOCK createChart %]
|
||||||
|
|
||||||
|
|
||||||
BLOCK renderMachineName;
|
BLOCK renderMachineName;
|
||||||
machine ? stripSSHUser(machine).match('^([^\.]*)').0 : "localhost";
|
machine ? stripSSHUser(machine).match('^(([^\.]|\.[0-9])*)').0 : "localhost";
|
||||||
END;
|
END;
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue