mirror of https://github.com/hashicorp/consul
fix typo of 'unknown' in log messages
parent
e0a1781d08
commit
7ccaa13514
|
@ -89,7 +89,7 @@ func TestGenerateKeys(t *testing.T) {
|
||||||
case "ec":
|
case "ec":
|
||||||
testGenerateECDSAKey(t, params.keyBits)
|
testGenerateECDSAKey(t, params.keyBits)
|
||||||
default:
|
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)
|
s.logger.Printf("[WARN] consul.rpc: RPC request to DC %q is currently failing as no server can be reached", dc)
|
||||||
return structs.ErrDCNotAvailable
|
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
|
return structs.ErrNoDCPath
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue