##// END OF EJS Templates
general metrics: require tags to be present
ergo -
Show More
@@ -480,7 +480,7 b' class GeneralMetricSchema(colander.MappingSchema):'
480 missing='unknown')
480 missing='unknown')
481 timestamp = colander.SchemaNode(NonTZDate(), validator=limited_date,
481 timestamp = colander.SchemaNode(NonTZDate(), validator=limited_date,
482 missing=deferred_utcnow)
482 missing=deferred_utcnow)
483 tags = TagSchemaList()
483 tags = TagSchemaList(missing=colander.required)
484
484
485
485
486 class GeneralMetricsListSchema(colander.SequenceSchema):
486 class GeneralMetricsListSchema(colander.SequenceSchema):
General Comments 0
You need to be logged in to leave comments. Login now