Skip to content

Commit

Permalink
[ws-proxy] provide a hint to our future selves (gitpod-io#17009)
Browse files Browse the repository at this point in the history
  • Loading branch information
kylos101 authored Mar 23, 2023
1 parent 76eaada commit 049ebe1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/ws-proxy/cmd/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,9 @@ var runCmd = &cobra.Command{
grpcOpts := common_grpc.DefaultClientOptions()
grpcOpts = append(grpcOpts, dialOption)

log.Info("Attempting to dial ws-manager, it's a blocking call that retries...")
conn, err := grpc.Dial(wsm.Addr, grpcOpts...)
// you will never get here if ws-manager is crashing, instead the readiness check for ws-proxy will restart the pod
if err != nil {
log.WithError(err).Fatal("cannot connect to ws-manager")
}
Expand Down

0 comments on commit 049ebe1

Please sign in to comment.