Fix recursive method call in sudo controller
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Garrett Mills 2021-04-15 13:09:56 -05:00
parent 636e1f8ab9
commit 6b2257ae33
Signed by: garrettmills
GPG Key ID: D2BF5FBA8298F246

View File

@ -115,7 +115,7 @@ class SudoController extends LDAPController {
}
}
return target_hosts
return target_hosts.filter(Boolean)
}
async get_targets_from_hosts(sudo_hosts) {