mirror of
https://github.com/ershisan99/coolify.git
synced 2025-12-17 04:59:30 +00:00
fix order
This commit is contained in:
@@ -64,13 +64,12 @@ class DeleteResourceJob implements ShouldBeEncrypted, ShouldQueue
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($this->deleteConfigurations) {
|
|
||||||
$this->resource?->delete_configurations();
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($this->deleteVolumes && $this->resource->type() !== 'service') {
|
if ($this->deleteVolumes && $this->resource->type() !== 'service') {
|
||||||
$this->resource?->delete_volumes($persistentStorages);
|
$this->resource?->delete_volumes($persistentStorages);
|
||||||
}
|
}
|
||||||
|
if ($this->deleteConfigurations) {
|
||||||
|
$this->resource?->delete_configurations();
|
||||||
|
}
|
||||||
|
|
||||||
$server = data_get($this->resource, 'server');
|
$server = data_get($this->resource, 'server');
|
||||||
if ($this->deleteImages && $server) {
|
if ($this->deleteImages && $server) {
|
||||||
|
|||||||
Reference in New Issue
Block a user