Skip to content

Commit ad7602c

Browse files
committed
Charles | fix string formating
1 parent 9e9970a commit ad7602c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/http/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ func startServer(ctx context.Context, hndlr http.Handler, listener net.Listener,
7272
Addr: listener.Addr().String(),
7373
Handler: hndlr,
7474
}
75-
logger.Printf("https://" + srv.Addr)
75+
logger.Printf("https://%s", srv.Addr)
7676

7777
go func() {
7878
if err := srv.Serve(listener); err != http.ErrServerClosed {

0 commit comments

Comments
 (0)