Skip to content

Commit

Permalink
Update question mark value error
Browse files Browse the repository at this point in the history
Co-authored-by: Nathan LeRoy <41063083+nleroy917@users.noreply.github.com>
  • Loading branch information
khoroshevskyi and nleroy917 committed Jun 27, 2023
1 parent 8542077 commit 10edb47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pepdbagent/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def value_must_be_lowercase(cls, v):
@validator("tag", "name")
def value_should_not_contain_question(cls, v):
if "?" in v:
return ValueError("Question mark is prohibited in name and tag")
return ValueError("Question mark (?) is prohibited in name and tag.")
return v

class Config:
Expand Down

0 comments on commit 10edb47

Please sign in to comment.