Handle SSH hosts without a @
This commit is contained in:
@ -13,7 +13,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
[% FOREACH m IN machines %]
|
||||
[% name = m.key ? m.key.match('@(.*)').0 : "localhost" %]
|
||||
[% name = m.key ? stripSSHUser(m.key) : "localhost" %]
|
||||
<thead>
|
||||
<tr>
|
||||
<th colspan="6">
|
||||
@ -27,7 +27,7 @@
|
||||
<tbody>
|
||||
[% idle = 1 %]
|
||||
[% FOREACH step IN steps %]
|
||||
[% name2 = step.machine ? step.machine.match('@(.*)').0 : "localhost" %]
|
||||
[% name2 = step.machine ? stripSSHUser(step.machine) : "localhost" %]
|
||||
[% IF name == name2 %]
|
||||
[% idle = 0 %]
|
||||
<tr>
|
||||
|
Reference in New Issue
Block a user