Skip to content

Commit 9214a24

Browse files
author
Aaron Schlesinger
committed
fix(pkg/healthsrv/server.go): build the right host string
1 parent 8891583 commit 9214a24

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/healthsrv/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ func Start(port int, s3Client *s3.S3) error {
1717
mux := http.NewServeMux()
1818
mux.Handle("/healthz", healthZHandler(s3Client))
1919

20-
hostStr := fmt.Sprintf("%d", port)
20+
hostStr := fmt.Sprintf(":%d", port)
2121
return http.ListenAndServe(hostStr, mux)
2222
}

0 commit comments

Comments
 (0)