Skip to content

Commit

Permalink
Refactor PEC bridge admin mail validation in get-configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
stephdl authored and Amygos committed Sep 23, 2024
1 parent 22eb907 commit 5401672
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions imageroot/actions/get-configuration/validate-output.json
Original file line number Diff line number Diff line change
Expand Up @@ -145,17 +145,15 @@
},
"pecbridge_admin_mail": {
"anyOf": [
{
"type": "string",
"title": "PEC bridge admin mail",
"description": "Email address of the PEC bridge administrator",
"format": "email"
},
{
"type": "string",
"title": "PEC bridge admin mail",
"description": "Email address of the PEC bridge administrator",
"pattern": "^$"
"format": "email"
},
{
"const": "",
"description": "Accept an empty string to clear the setting"
}
]
}
Expand Down

0 comments on commit 5401672

Please sign in to comment.