Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 资源视图表单 cronjob 表达式支持正则 #3540

Merged
merged 2 commits into from
Oct 11, 2024

Conversation

LidolLxf
Copy link
Contributor

feat: 资源视图表单 cronjob 表达式支持正则

@@ -206,5 +206,22 @@ func genSchemaRules(ctx context.Context) map[string]interface{} {
"validator": "{{ $self.value.length > 0 }}",
"message": i18n.GetMsg(ctx, "不应少于 1 个项"),
},
"scheduleValid": map[string]interface{}{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个正则表达式写个单测吧,顺便把 lint 修下

@LidolLxf LidolLxf force-pushed the feat_cron_regular branch 2 times, most recently from 1eb65ca to ab8bd74 Compare October 10, 2024 02:52
@ifooth ifooth merged commit d9ee504 into TencentBlueKing:master Oct 11, 2024
14 checks passed
evanlixin added a commit that referenced this pull request Oct 14, 2024
* github-bk-bcs/master:
  feat: 配置示例新增windows路径需求--story=119618143 (#3549)
  fix: 修复客户端事件列表接口 (#3568)
  fix: 客户端事件列表过滤跳过的事件数据 (#3558)
  feat: HTTP接口拉取文件支持设置labels (#3567)
  feat: 资源视图表单 cronjob 表达式支持正则 (#3540)
  feat: 模板文件支持 Helm 语法模式 (#3494)
  feat: cmd命令行缺少空格问题--story=119697737 (#3566)
  feat: 1.配置示例-配置文件筛选体验优化--story=119697737 (#3565)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants