mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-05-23 16:30:39 +00:00
fix!: align gRPC CLI option names with config naming (#8021)
* fix: align gRPC CLI option names with config naming Signed-off-by: QuakeWang <wangfuzheng0814@foxmail.com> * fix: warn on deprecated metasrv grpc config Signed-off-by: QuakeWang <wangfuzheng0814@foxmail.com> --------- Signed-off-by: QuakeWang <wangfuzheng0814@foxmail.com>
This commit is contained in:
@@ -84,9 +84,9 @@ pub struct DatanodeOptions {
|
||||
pub memory: MemoryOptions,
|
||||
|
||||
/// Deprecated options, please use the new options instead.
|
||||
#[deprecated(note = "Please use `grpc.addr` instead.")]
|
||||
#[deprecated(note = "Please use `grpc.bind_addr` instead.")]
|
||||
pub rpc_addr: Option<String>,
|
||||
#[deprecated(note = "Please use `grpc.hostname` instead.")]
|
||||
#[deprecated(note = "Please use `grpc.server_addr` instead.")]
|
||||
pub rpc_hostname: Option<String>,
|
||||
#[deprecated(note = "Please use `grpc.runtime_size` instead.")]
|
||||
pub rpc_runtime_size: Option<usize>,
|
||||
|
||||
Reference in New Issue
Block a user