Skip to content

Commit eb25219

Browse files
Pass delete_permanently when deleting Verda instances (#3734)
1 parent 129e214 commit eb25219

File tree

1 file changed

+5
-1
lines changed
  • src/dstack/_internal/core/backends/verda

1 file changed

+5
-1
lines changed

src/dstack/_internal/core/backends/verda/compute.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,11 @@ def terminate_instance(
168168
self, instance_id: str, region: str, backend_data: Optional[str] = None
169169
):
170170
try:
171-
self.client.instances.action(id_list=[instance_id], action="delete")
171+
self.client.instances.action(
172+
id_list=[instance_id],
173+
action="delete",
174+
delete_permanently=True,
175+
)
172176
except APIException as e:
173177
if e.message in [
174178
"Invalid instance id",

0 commit comments

Comments
 (0)