Skip to content

Commit

Permalink
Merge pull request #48 from cloudblue/fix_audience_validation
Browse files Browse the repository at this point in the history
Relax audience validation to warning if no webapp present
  • Loading branch information
ffaraone authored Nov 9, 2022
2 parents 59029dc + a2e3506 commit d7341dc
Show file tree
Hide file tree
Showing 4 changed files with 149 additions and 147 deletions.
2 changes: 1 addition & 1 deletion connect/eaas/core/validation/validators/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ def validate_extension_json(context):
):
messages.append(
ValidationItem(
level='ERROR',
level='ERROR' if 'webapp' in context['extension_classes'] else 'WARNING',
message=(
'For Multi account extensions the attribute *audience* that list '
'the target account types for this extension is mandatory in the '
Expand Down
Loading

0 comments on commit d7341dc

Please sign in to comment.