fix two typos (#17389)

This commit is contained in:
R.B. Boyer 2023-05-17 10:50:26 -05:00 committed by GitHub
parent 2f5256ec7a
commit 21c6e0e8e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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.

View File

@ -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)