From 7ccaa13514c0e8e9fbd4d2282859b7af85956397 Mon Sep 17 00:00:00 2001 From: "R.B. Boyer" Date: Fri, 13 Sep 2019 11:05:56 -0500 Subject: [PATCH] fix typo of 'unknown' in log messages --- agent/connect/generate_test.go | 2 +- agent/consul/rpc.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/agent/connect/generate_test.go b/agent/connect/generate_test.go index 24715b0e84..73d6b8d009 100644 --- a/agent/connect/generate_test.go +++ b/agent/connect/generate_test.go @@ -89,7 +89,7 @@ func TestGenerateKeys(t *testing.T) { case "ec": testGenerateECDSAKey(t, params.keyBits) default: - t.Fatalf("unkown key type: %s", params.keyType) + t.Fatalf("unknown key type: %s", params.keyType) } }) } diff --git a/agent/consul/rpc.go b/agent/consul/rpc.go index 95e8a322e6..1ebac8d7eb 100644 --- a/agent/consul/rpc.go +++ b/agent/consul/rpc.go @@ -319,7 +319,7 @@ func (s *Server) forwardDC(method, dc string, args interface{}, reply interface{ s.logger.Printf("[WARN] consul.rpc: RPC request to DC %q is currently failing as no server can be reached", dc) return structs.ErrDCNotAvailable } - s.logger.Printf("[WARN] consul.rpc: RPC request for unkown DC %q", dc) + s.logger.Printf("[WARN] consul.rpc: RPC request for unknown DC %q", dc) return structs.ErrNoDCPath }