diff --git a/pbs-api-types/src/datastore.rs b/pbs-api-types/src/datastore.rs index 1212ff89..f88a933e 100644 --- a/pbs-api-types/src/datastore.rs +++ b/pbs-api-types/src/datastore.rs @@ -87,7 +87,7 @@ pub const NS_MAX_DEPTH_SCHEMA: Schema = IntegerSchema::new("How many levels of namespaces should be operated on (0 == no recursion)") .minimum(0) .maximum(MAX_NAMESPACE_DEPTH as isize) - .default(0) + .default(MAX_NAMESPACE_DEPTH as isize) .schema(); pub const NS_MAX_DEPTH_REDUCED_SCHEMA: Schema =