From b68c22be8191f73540fd7a940be776b6d6d6220c Mon Sep 17 00:00:00 2001 From: Alex Chi Date: Fri, 26 May 2023 11:03:49 -0400 Subject: [PATCH] value parser Signed-off-by: Alex Chi --- libs/pageserver_api/src/models.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/pageserver_api/src/models.rs b/libs/pageserver_api/src/models.rs index 1426dbc66d..5e06b5d5a9 100644 --- a/libs/pageserver_api/src/models.rs +++ b/libs/pageserver_api/src/models.rs @@ -181,7 +181,7 @@ pub struct TenantConfig { // Otherwise we'd have to move the types for eviction policy into this package. // We might do that once the eviction feature has stabilizied. // For now, this field is not even documented in the openapi_spec.yml. - #[clap(long)] + #[clap(long, value_parser = clap::value_parser!(serde_json::Value))] pub eviction_policy: Option, #[clap(long)] pub min_resident_size_override: Option,