fix typo of 'unknown' in log messages

This commit is contained in:
R.B. Boyer 2019-09-13 11:05:56 -05:00 committed by R.B. Boyer
parent 303cab2164
commit edf5347d3c
2 changed files with 2 additions and 2 deletions

View File

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

View File

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