Skip to content

Commit

Permalink
Fix typos (#3449)
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-k authored Jun 28, 2024
1 parent abe3691 commit 30760e2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@
###### CloudFormation Specifications
- Update CloudFormation specs to `170.0.0` (pull #[3149](https://github.com/aws-cloudformation/cfn-lint/pull/3149))
###### Fixes
- Only pick up `.json` files when using registry shcemas (pull #[3150](https://github.com/aws-cloudformation/cfn-lint/pull/3150))
- Only pick up `.json` files when using registry schemas (pull #[3150](https://github.com/aws-cloudformation/cfn-lint/pull/3150))
- Update IAM policy validation to not allow `Action` and `NotAction` (pull #[3145](https://github.com/aws-cloudformation/cfn-lint/pull/3145))
- Update IAM policy validation to not allow `Principal` and `NotPrincipal` (pull #[3145](https://github.com/aws-cloudformation/cfn-lint/pull/3145))
- Update IAM policy validation to not allow `Resource` and `NotResource` (pull #[3145](https://github.com/aws-cloudformation/cfn-lint/pull/3145))
Expand Down
2 changes: 1 addition & 1 deletion src/cfnlint/rules/parameters/Configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def validate(self, validator: Validator, _: Any, instance: Any, schema: Any):

for err in super()._iter_errors(cfn_validator, instance):
# we use enum twice. Once for the type and once for the property
# names. There are seperate error numbers so we do this.
# names. There are separate error numbers so we do this.
if "propertyNames" in err.schema_path and "enum" in err.schema_path:
err.rule = self
yield err
2 changes: 1 addition & 1 deletion src/cfnlint/schema/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def _normalize_resource_type(self, resource_type: str) -> str:

@lru_cache(maxsize=None)
def get_resource_schema(self, region: str, resource_type: str) -> Schema:
"""Get the provider resource shcema and cache it to speed up future lookups
"""Get the provider resource schema and cache it to speed up future lookups
Args:
region (str): the region in which do get the provider schema for
Expand Down

0 comments on commit 30760e2

Please sign in to comment.