fix typo of 'unknown' in log messages
This commit is contained in:
parent
303cab2164
commit
edf5347d3c
|
@ -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)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue