Skip to content

Commit 049ebe1

Browse files
authored
[ws-proxy] provide a hint to our future selves (#17009)
1 parent 76eaada commit 049ebe1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

components/ws-proxy/cmd/run.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,9 @@ var runCmd = &cobra.Command{
128128
grpcOpts := common_grpc.DefaultClientOptions()
129129
grpcOpts = append(grpcOpts, dialOption)
130130

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

0 commit comments

Comments
 (0)