mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-31 00:16:47 +01:00
fix: metric-schema for variant counts
This commit is contained in:
parent
0f4d7df735
commit
e317a65983
@ -14,10 +14,7 @@ const countSchema = joi
|
|||||||
.number()
|
.number()
|
||||||
.min(0)
|
.min(0)
|
||||||
.default(0),
|
.default(0),
|
||||||
variants: joi.object({
|
variants: joi.object().pattern(joi.string(), joi.number().min(0)),
|
||||||
arg: joi.string(),
|
|
||||||
value: joi.number().min(0),
|
|
||||||
}),
|
|
||||||
});
|
});
|
||||||
|
|
||||||
const clientMetricsSchema = joi
|
const clientMetricsSchema = joi
|
||||||
|
Loading…
Reference in New Issue
Block a user