Skip to content

Commit

Permalink
Fix flag name (#7601)
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerwilliams authored Sep 30, 2024
1 parent 0367c82 commit 6af4ee8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions codesearch/cmd/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var (
listen = flag.String("codesearch.listen", ":2633", "Address to listen on")
csIndexDir = flag.String("codesearch.index_dir", "", "Directory to store index in")
csScratchDir = flag.String("codesearch.scratch_dir", "", "Directory to store temp files in")
appTarget = flag.String("codesearch.app_target", "", "gRPC Address of buildbuddy cache")
remoteCache = flag.String("codesearch.remote_cache", "", "gRPC Address of buildbuddy cache")

monitoringAddr = flag.String("monitoring.listen", ":9090", "Address to listen for monitoring traffic on")
)
Expand Down Expand Up @@ -58,7 +58,7 @@ func main() {
log.Fatal(err.Error())
}

conn, err := grpc_client.DialInternal(env, *appTarget)
conn, err := grpc_client.DialInternal(env, *remoteCache)
if err != nil {
log.Fatal(err.Error())
}
Expand Down

0 comments on commit 6af4ee8

Please sign in to comment.