Skip to content

Commit

Permalink
fix two typos (#17389)
Browse files Browse the repository at this point in the history
  • Loading branch information
rboyer authored May 17, 2023
1 parent 2f5256e commit 21c6e0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ func (s *Server) realHandleStream(streamReq HandleStreamRequest) error {
logger := s.Logger.Named("stream").
With("peer_name", streamReq.PeerName).
With("peer_id", streamReq.LocalID).
With("dailer", !streamReq.IsAcceptor())
With("dialer", !streamReq.IsAcceptor())
logger.Trace("handling stream for peer")

// handleStreamCtx is local to this function.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func NodeHealthController() controller.Controller {
type nodeHealthReconciler struct{}

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.
rt.Logger = rt.Logger.With("resource-id", req.ID)

Expand Down

0 comments on commit 21c6e0e

Please sign in to comment.