We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7fb0af commit daf2b4cCopy full SHA for daf2b4c
src/argus/incident/validators.py
@@ -29,7 +29,8 @@ def validate_key(value):
29
key_value_re = _lazy_re_compile(r"^[a-z0-9_]+=.+?\Z")
30
key_value_validator = RegexValidator(
31
key_value_re,
32
- message='Enter a valid key-value construct: "key=value", where key and value are strings.',
+ message=f'Enter a valid key-value construct: "key=value", where key and value are strings.'
33
+ f'The key must consist of lowercase letters, numbers and underscores.',
34
code="invalid",
35
)
36
0 commit comments