Skip to content

Commit

Permalink
refactor:cr调整
Browse files Browse the repository at this point in the history
  • Loading branch information
neronkl committed Nov 17, 2023
1 parent c5072fc commit 97c7835
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bk-user/bkuser/biz/validators.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ def validate_tenant_custom_field_name(value):
if not re.fullmatch(CUSTOM_FIELD_NAME_REGEX, value):
raise ValidationError(
_(
"{} 不符合 自定义字段 的命名规范: 由字母、数字、下划线(_)字符组成,以字母或数字开头及结尾" # noqa: E501
"{} 不符合 自定义字段 的命名规范: 由3-32位字母、数字、下划线(_)字符组成,以字母开头,字母或数字结尾" # noqa: E501
).format(value),
)

0 comments on commit 97c7835

Please sign in to comment.