Skip to content

Commit

Permalink
Return the real port of the container
Browse files Browse the repository at this point in the history
  • Loading branch information
juanfont authored and kradalby committed Nov 14, 2022
1 parent 73c84d4 commit 0a47d69
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions integration/hsic/hsic.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,7 @@ func (t *HeadscaleInContainer) GetIP() string {
}

func (t *HeadscaleInContainer) GetPort() string {
portProto := fmt.Sprintf("%d/tcp", t.port)

return t.container.GetPort(portProto)
return fmt.Sprintf("%d", t.port)
}

func (t *HeadscaleInContainer) GetHealthEndpoint() string {
Expand Down

0 comments on commit 0a47d69

Please sign in to comment.