Skip to content

Commit

Permalink
fix(pkg/healthsrv/server.go): remove unused constants
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Schlesinger committed Feb 12, 2016
1 parent ef5ddbc commit 7dc6797
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions pkg/healthsrv/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,7 @@ import (
"github.com/deis/builder/pkg/sshd"
)

const (
DefaultHost = "0.0.0.0"
DefaultPort = 8082
)

// Start starts the healthcheck server on $host:$port and blocks. It only returns if the server fails, with the indicative error
// Start starts the healthcheck server on :$port and blocks. It only returns if the server fails, with the indicative error
func Start(port int, nsLister NamespaceLister, bLister BucketLister, sshServerCircuit *sshd.Circuit) error {
mux := http.NewServeMux()
mux.Handle("/healthz", healthZHandler(nsLister, bLister, sshServerCircuit))
Expand Down

0 comments on commit 7dc6797

Please sign in to comment.