Skip to content

Commit

Permalink
changed from exception to warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ammokhov committed Jul 21, 2020
1 parent eccf0d5 commit b12e00b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rpdk/core/data_loaders.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def load_resource_spec(resource_spec_file): # noqa: C901

primary_id = resource_spec["primaryIdentifier"]
if not in_readonly(primary_id) and not in_createonly(primary_id):
raise SpecValidationError(
LOG.warning(
"Property 'primaryIdentifier' must be specified \
as either readOnly or createOnly"
)
Expand Down

0 comments on commit b12e00b

Please sign in to comment.