mirror of https://github.com/status-im/consul.git
fix two typos (#17389)
This commit is contained in:
parent
2f5256ec7a
commit
21c6e0e8e6
|
@ -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.
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue