refactor: Remove commented out code for getIptables() in Dashboard.php
This commit is contained in:
@@ -50,15 +50,6 @@ class Dashboard extends Component
|
|||||||
])->sortBy('id')->groupBy('server_name')->toArray();
|
])->sortBy('id')->groupBy('server_name')->toArray();
|
||||||
}
|
}
|
||||||
|
|
||||||
// public function getIptables()
|
|
||||||
// {
|
|
||||||
// $servers = Server::ownedByCurrentTeam()->get();
|
|
||||||
// foreach ($servers as $server) {
|
|
||||||
// checkRequiredCommands($server);
|
|
||||||
// $iptables = instant_remote_process(['docker run --privileged --net=host --pid=host --ipc=host --volume /:/host busybox chroot /host bash -c "iptables -L -n | jc --iptables"'], $server);
|
|
||||||
// ray($iptables);
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
public function render()
|
public function render()
|
||||||
{
|
{
|
||||||
return view('livewire.dashboard');
|
return view('livewire.dashboard');
|
||||||
|
|||||||
Reference in New Issue
Block a user