Skip to content

Commit

Permalink
add newly created agent endpoints to the map (#574)
Browse files Browse the repository at this point in the history
Signed-off-by: Alice-Lilith <[email protected]>
  • Loading branch information
Alice-Lilith authored Jan 16, 2025
1 parent 3ef67b6 commit 0fac123
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/tunneldriver/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,7 @@ func (td *TunnelDriver) CreateAgentEndpoint(ctx context.Context, name string, sp
if err != nil {
return err
}
td.agentEndpoints.Add(name, tun)

upstreamPort, err := strconv.Atoi(upstreamURL.Port())
if err != nil {
Expand Down

0 comments on commit 0fac123

Please sign in to comment.