simplify uuid variabel

This commit is contained in:
ayntk-ai 2024-08-09 02:58:59 +02:00
parent 7722809c52
commit 53dff4ca4f
No known key found for this signature in database

View file

@ -47,14 +47,14 @@ public function handle(Service $service, bool $deleteConfigurations, bool $delet
}
if ($deleteConnectedNetworks) {
$uuid = $service->uuid;
$service->delete_connected_networks($uuid);
$service->delete_connected_networks($service->uuid);
}
$commands[] = "docker rm -f $service->uuid";
// Executing remaining commands
instant_remote_process($commands, $server, false);
} catch (\Exception $e) {
throw new \Exception($e->getMessage());
} finally {