Skip to content

Commit

Permalink
correct stop() invocation in device garbage collection
Browse files Browse the repository at this point in the history
  • Loading branch information
rtertiaer committed Jun 10, 2024
1 parent 13eccb5 commit bf41cf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion device/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ def gc(c):
DeviceTunnel.expires < datetime.now())
tunnels = sesh.exec(stmt).all()
for t in tunnels:
stop(c, t.id, TunnelState.timedout)
stop(c, t.tunnel_id, TunnelState.timedout)

@task
def connect_approved_tunnels(c):
Expand Down

0 comments on commit bf41cf0

Please sign in to comment.