fix order

This commit is contained in:
ayntk-ai 2024-08-09 01:00:07 +02:00
parent 70aa05bde9
commit 51071da700
No known key found for this signature in database

View file

@ -64,13 +64,12 @@ public function handle()
break;
}
if ($this->deleteConfigurations) {
$this->resource?->delete_configurations();
}
if ($this->deleteVolumes && $this->resource->type() !== 'service') {
$this->resource?->delete_volumes($persistentStorages);
}
if ($this->deleteConfigurations) {
$this->resource?->delete_configurations();
}
$server = data_get($this->resource, 'server');
if ($this->deleteImages && $server) {