Skip to content

Commit 65356e9

Browse files
committed
fixes
1 parent 6726964 commit 65356e9

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

app/Jobs/DockerCleanupJob.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,9 @@ public function handle(): void
3333
}
3434

3535
if ($this->manualCleanup || $this->server->settings->force_docker_cleanup) {
36-
Log::info('DockerCleanupJob ' . ($this->manualCleanup ? 'manual' : 'force') . ' cleanup on ' . $this->server->name);
36+
Log::info('DockerCleanupJob '.($this->manualCleanup ? 'manual' : 'force').' cleanup on '.$this->server->name);
3737
CleanupDocker::run(server: $this->server);
38+
3839
return;
3940
}
4041

app/Jobs/ServerLimitCheckJob.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
use Illuminate\Contracts\Queue\ShouldQueue;
1111
use Illuminate\Foundation\Bus\Dispatchable;
1212
use Illuminate\Queue\InteractsWithQueue;
13-
use Illuminate\Queue\Middleware\;
1413
use Illuminate\Queue\SerializesModels;
1514

1615
class ServerLimitCheckJob implements ShouldBeEncrypted, ShouldQueue

app/Livewire/Server/Form.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44

55
use App\Actions\Server\StartSentinel;
66
use App\Actions\Server\StopSentinel;
7+
use App\Jobs\DockerCleanupJob;
78
use App\Jobs\PullSentinelImageJob;
89
use App\Models\Server;
910
use Livewire\Component;
10-
use App\Jobs\DockerCleanupJob;
1111

1212
class Form extends Component
1313
{
@@ -26,6 +26,7 @@ class Form extends Component
2626
public $timezones;
2727

2828
public $delete_unused_volumes = false;
29+
2930
public $delete_unused_networks = false;
3031

3132
public function getListeners()
@@ -147,7 +148,7 @@ public function instantSave()
147148
try {
148149
refresh_server_connection($this->server->privateKey);
149150
$this->validateServer(false);
150-
151+
151152
$this->server->settings->save();
152153
$this->server->save();
153154
$this->dispatch('success', 'Server updated.');
@@ -248,7 +249,7 @@ public function submit()
248249
}
249250
$this->server->settings->save();
250251
$this->server->save();
251-
252+
252253
$this->dispatch('success', 'Server updated.');
253254
} catch (\Throwable $e) {
254255
return handleError($e, $this);
@@ -271,6 +272,7 @@ public function manualCleanup()
271272
return handleError($e, $this);
272273
}
273274
}
275+
274276
public function manualCloudflareConfig()
275277
{
276278
$this->server->settings->is_cloudflare_tunnel = true;

0 commit comments

Comments
 (0)