simplify uuid variabel
This commit is contained in:
parent
7722809c52
commit
53dff4ca4f
1 changed files with 2 additions and 2 deletions
|
|
@ -47,14 +47,14 @@ public function handle(Service $service, bool $deleteConfigurations, bool $delet
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($deleteConnectedNetworks) {
|
if ($deleteConnectedNetworks) {
|
||||||
$uuid = $service->uuid;
|
$service->delete_connected_networks($service->uuid);
|
||||||
$service->delete_connected_networks($uuid);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$commands[] = "docker rm -f $service->uuid";
|
$commands[] = "docker rm -f $service->uuid";
|
||||||
|
|
||||||
// Executing remaining commands
|
// Executing remaining commands
|
||||||
instant_remote_process($commands, $server, false);
|
instant_remote_process($commands, $server, false);
|
||||||
|
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
throw new \Exception($e->getMessage());
|
throw new \Exception($e->getMessage());
|
||||||
} finally {
|
} finally {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue