refactor: Remove commented out code for getIptables() in Dashboard.php

This commit is contained in:
Andras Bacsai
2024-08-29 13:28:02 +02:00
parent d586aa0377
commit 020256b9b5

View File

@@ -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');