Skip to content

Commit

Permalink
Fix typo in "defaultHealthCheckURI" (#337)
Browse files Browse the repository at this point in the history
  • Loading branch information
simon04 authored Feb 12, 2020
1 parent 8374f32 commit b03ba57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const (
defaultVcs = "git"
defaultBaseUrl = "{url}/blob/master/{path}{anchor}"
defaultAnchor = "#L{line}"
defaultHealthChekURI = "/healthz"
defaultHealthCheckURI = "/healthz"
)

type UrlPattern struct {
Expand Down Expand Up @@ -123,7 +123,7 @@ func initConfig(c *Config) {
}

if c.HealthCheckURI == "" {
c.HealthCheckURI = defaultHealthChekURI
c.HealthCheckURI = defaultHealthCheckURI
}
}

Expand Down

0 comments on commit b03ba57

Please sign in to comment.