Skip to content

Commit

Permalink
fix comment typo
Browse files Browse the repository at this point in the history
  • Loading branch information
pirtleshell committed Mar 4, 2024
1 parent b468bb9 commit 1955b36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/shard.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ var _ Proxies = ShardProxies{}

// ProxyForRequest implements Proxies.
func (sp ShardProxies) ProxyForRequest(r *http.Request) (*httputil.ReverseProxy, ProxyMetadata, bool) {
// short circuit if not host not in shards map
// short circuit if host not in shards map
shardsForHost, found := sp.shardsByHost[r.Host]
if !found {
return sp.defaultProxies.ProxyForRequest(r)
Expand Down

0 comments on commit 1955b36

Please sign in to comment.