Skip to content

Commit

Permalink
add newly created agent endpoints to the map
Browse files Browse the repository at this point in the history
Signed-off-by: Alice-Lilith <[email protected]>
  • Loading branch information
Alice-Lilith committed Jan 16, 2025
1 parent 3ef67b6 commit 5cb9281
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)

Check warning on line 483 in pkg/tunneldriver/driver.go

View check run for this annotation

Codecov / codecov/patch

pkg/tunneldriver/driver.go#L483

Added line #L483 was not covered by tests

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

0 comments on commit 5cb9281

Please sign in to comment.