Skip to content

Commit 2b8fc3b

Browse files
author
Aaron Schlesinger
committed
fix(pkg/healthsrv/server.go): remove unused constants
1 parent c925148 commit 2b8fc3b

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

pkg/healthsrv/server.go

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,7 @@ import (
77
"github.com/deis/builder/pkg/sshd"
88
)
99

10-
const (
11-
DefaultHost = "0.0.0.0"
12-
DefaultPort = 8082
13-
)
14-
15-
// Start starts the healthcheck server on $host:$port and blocks. It only returns if the server fails, with the indicative error
10+
// Start starts the healthcheck server on :$port and blocks. It only returns if the server fails, with the indicative error
1611
func Start(port int, nsLister NamespaceLister, bLister BucketLister, sshServerCircuit *sshd.Circuit) error {
1712
mux := http.NewServeMux()
1813
mux.Handle("/healthz", healthZHandler(nsLister, bLister, sshServerCircuit))

0 commit comments

Comments
 (0)