diff --git a/src/query/config/src/outer_v0.rs b/src/query/config/src/outer_v0.rs index 1e38913ce9452..8c14b17347fdc 100644 --- a/src/query/config/src/outer_v0.rs +++ b/src/query/config/src/outer_v0.rs @@ -1137,7 +1137,7 @@ impl TryInto for RedisStorageConfig { /// Query config group. #[derive(Clone, Debug, PartialEq, Eq, Serialize, Deserialize, Args)] -#[serde(default)] +#[serde(default, deny_unknown_fields)] pub struct QueryConfig { /// Tenant id for get the information from the MetaSrv. #[clap(long, default_value = "admin")]