更新模板中函数备注信息
This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
{{- $validationError01 := include "common.validations.values.single.empty" (dict "valueKey" "path.to.password01" "secret" "secretName" "field" "password-01") -}}
|
||||
{{ include "common.errors.upgrade.passwords.empty" (dict "validationErrors" (list $validationError00 $validationError01) "context" $) }}
|
||||
参数:
|
||||
- validationErrors - 字符串(必须)。待校验的字符串列表,如果为空返回错误。
|
||||
- context - 上下文(必须)。父级上下文信息。
|
||||
- validationErrors: 字符串(必须)。待校验的字符串列表,如果为空返回错误。
|
||||
- context: 上下文(必须)。父级上下文信息。
|
||||
*/}}
|
||||
{{- define "common.errors.upgrade.passwords.empty" -}}
|
||||
{{- $validationErrors := join "" .validationErrors -}}
|
||||
|
||||
Reference in New Issue
Block a user