Skip to content
This repository was archived by the owner on Jan 23, 2026. It is now read-only.

Commit fab4650

Browse files
committed
Drop unused release_lease method
1 parent dd94c23 commit fab4650

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

  • packages/jumpstarter/jumpstarter/config

packages/jumpstarter/jumpstarter/config/client.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,6 @@ def update_lease(self, name, duration: timedelta):
107107
with start_blocking_portal() as portal:
108108
return portal.call(self.update_lease_async, name, duration)
109109

110-
def release_lease(self, name):
111-
with start_blocking_portal() as portal:
112-
portal.call(self.release_lease_async, name)
113-
114110
async def get_exporter_async(self, name: str):
115111
svc = ClientService(channel=await self.channel(), namespace=self.metadata.namespace)
116112
with translate_grpc_exceptions():
@@ -155,11 +151,6 @@ async def update_lease_async(self, name, duration: timedelta):
155151
with translate_grpc_exceptions():
156152
return await svc.UpdateLease(name=name, duration=duration)
157153

158-
async def release_lease_async(self, name):
159-
svc = ClientService(channel=await self.channel(), namespace=self.metadata.namespace)
160-
with translate_grpc_exceptions():
161-
await svc.DeleteLease(name=name)
162-
163154
@asynccontextmanager
164155
async def lease_async(
165156
self,

0 commit comments

Comments
 (0)