Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion loadbalancer/lbutils.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func createCertPool(backendConfig *config.BackendConfig) (*x509.CertPool, error)
return pool, nil
}

// NewLoadBalancer instantiates a load balancer based on the named backend configuration. Backend
// NewBackendLoadBalancer instantiates a load balancer based on the named backend configuration. Backend
// names are scoped to routes, thus the route is given to ensure the correct backend is returned
// if multiple backend definitions with the same name are given.
func NewBackendLoadBalancer(backendName string) (*BackendLoadBalancer, error) {
Expand Down
2 changes: 1 addition & 1 deletion service/health.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func (hcc *HealthCheckContext) HealthHandler() http.HandlerFunc {
}
}

//Return current health status
//GetHealthStatus returns current health status
func (hcc *HealthCheckContext) GetHealthStatus() *HealthResponse {

hr := &HealthResponse{
Expand Down