Browse Source

fix two typos (#17389)

pull/17393/head
R.B. Boyer 2 years ago committed by GitHub
parent
commit
21c6e0e8e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      agent/grpc-external/services/peerstream/stream_resources.go
  2. 2
      internal/catalog/internal/controllers/nodehealth/controller.go

2
agent/grpc-external/services/peerstream/stream_resources.go vendored

@ -319,7 +319,7 @@ func (s *Server) realHandleStream(streamReq HandleStreamRequest) error {
logger := s.Logger.Named("stream"). logger := s.Logger.Named("stream").
With("peer_name", streamReq.PeerName). With("peer_name", streamReq.PeerName).
With("peer_id", streamReq.LocalID). With("peer_id", streamReq.LocalID).
With("dailer", !streamReq.IsAcceptor()) With("dialer", !streamReq.IsAcceptor())
logger.Trace("handling stream for peer") logger.Trace("handling stream for peer")
// handleStreamCtx is local to this function. // handleStreamCtx is local to this function.

2
internal/catalog/internal/controllers/nodehealth/controller.go

@ -25,7 +25,7 @@ func NodeHealthController() controller.Controller {
type nodeHealthReconciler struct{} type nodeHealthReconciler struct{}
func (r *nodeHealthReconciler) Reconcile(ctx context.Context, rt controller.Runtime, req controller.Request) error { func (r *nodeHealthReconciler) Reconcile(ctx context.Context, rt controller.Runtime, req controller.Request) error {
// The runtime is passed by value so replacing it here for the remaineder of this // The runtime is passed by value so replacing it here for the remainder of this
// reconciliation request processing will not affect future invocations. // reconciliation request processing will not affect future invocations.
rt.Logger = rt.Logger.With("resource-id", req.ID) rt.Logger = rt.Logger.With("resource-id", req.ID)

Loading…
Cancel
Save