Skip to content

Commit

Permalink
chore: print http url for tunneled services (dagger#8552)
Browse files Browse the repository at this point in the history
this helps to easily open tunnel http endpoints from the terminal

Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
  • Loading branch information
marcosnils authored Sep 23, 2024
1 parent 05cc202 commit 5e3299c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/schema/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ func (s *serviceSchema) up(ctx context.Context, svc dagql.Instance[*core.Service
"tunnel started",
"port", port.Port,
"protocol", port.Protocol.Network(),
"http_url", fmt.Sprintf("http://%s:%d", "localhost", port.Port),
"description", *port.Description,
)
}
Expand Down

0 comments on commit 5e3299c

Please sign in to comment.