Skip to content

Commit

Permalink
fix #355
Browse files Browse the repository at this point in the history
  • Loading branch information
mStirner committed Dec 17, 2023
1 parent ef9bcc4 commit 8680074
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/component/class.component.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ module.exports = class COMPONENT extends COMMON {
...schema,
//labels: Joi.array().items(Joi.string().regex(/^[a-zA-Z0-9]+=[a-zA-Z0-9]+$/)).default([])
//labels: Joi.array().items(Joi.string().regex(/^[a-z0-9\.]+=[a-z0-9]+$/)).default([]),
labels: Joi.array().items(Joi.string()).default([]),
labels: Joi.array().items(Joi.string().regex(/^.+?=.+|.+=.+$/i)).default([]),
timestamps: Joi.object({
...schema?.timestamps,
created: Joi.number().allow(null).default(null),
Expand Down

0 comments on commit 8680074

Please sign in to comment.