update
This commit is contained in:
parent
b06b465ffa
commit
638bcf9732
@ -59,7 +59,7 @@ class DeleteResourceJob implements ShouldQueue, ShouldBeEncrypted
|
|||||||
$this->resource->delete();
|
$this->resource->delete();
|
||||||
DeleteService::dispatch($this->resource);
|
DeleteService::dispatch($this->resource);
|
||||||
} else {
|
} else {
|
||||||
$this->resource->delete();
|
$this->resource->forceDelete();
|
||||||
}
|
}
|
||||||
} catch (\Throwable $e) {
|
} catch (\Throwable $e) {
|
||||||
send_internal_notification('ContainerStoppingJob failed with: ' . $e->getMessage());
|
send_internal_notification('ContainerStoppingJob failed with: ' . $e->getMessage());
|
||||||
|
@ -24,7 +24,7 @@ class Danger extends Component
|
|||||||
public function delete()
|
public function delete()
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
DeleteResourceJob::dispatchSync($this->resource);
|
DeleteResourceJob::dispatch($this->resource);
|
||||||
return $this->redirectRoute('project.resources', [
|
return $this->redirectRoute('project.resources', [
|
||||||
'project_uuid' => $this->projectUuid,
|
'project_uuid' => $this->projectUuid,
|
||||||
'environment_name' => $this->environmentName
|
'environment_name' => $this->environmentName
|
||||||
|
Loading…
x
Reference in New Issue
Block a user