Skip to content

Commit

Permalink
chore: removed unnecessary
Browse files Browse the repository at this point in the history
  • Loading branch information
1101-1 committed Nov 14, 2024
1 parent 3cd0acb commit 0129e04
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion fixlib/fixlib/baseresources.py
Original file line number Diff line number Diff line change
Expand Up @@ -1473,7 +1473,6 @@ class BaseDNSZone(BaseResource):
_metadata: ClassVar[Dict[str, Any]] = {"icon": "dns", "group": "networking"}
_categories: ClassVar[List[Category]] = [Category.dns, Category.networking]
private_zone: Optional[bool] = None
record_count: Optional[int] = field(default=None, metadata=dict(ignore_history=True))


@define(eq=False, slots=False)
Expand Down
3 changes: 2 additions & 1 deletion plugins/aws/fix_plugin_aws/resource/route53.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,9 @@ class AwsRoute53Zone(AwsResource, BaseDNSZone):
"zone_config": S("Config") >> Bend(AwsRoute53ZoneConfig.mapping),
"zone_linked_service": S("LinkedService") >> Bend(AwsRoute53LinkedService.mapping),
"private_zone": S("Config", "PrivateZone"),
"record_count": S("ResourceRecordSetCount"),
"zone_resource_record_set_count": S("ResourceRecordSetCount"),
}
zone_resource_record_set_count: Optional[int] = field(default=None, metadata=dict(ignore_history=True))
zone_caller_reference: Optional[str] = field(default=None)
zone_config: Optional[AwsRoute53ZoneConfig] = field(default=None)
zone_linked_service: Optional[AwsRoute53LinkedService] = field(default=None)
Expand Down
1 change: 0 additions & 1 deletion plugins/azure/fix_plugin_azure/resource/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -6800,7 +6800,6 @@ class AzureNetworkDNSZone(MicrosoftResource, BaseDNSZone):
},
default=False,
),
"record_count": S("properties", "maxNumberOfRecordSets"),
}
max_number_of_record_sets: Optional[int] = field(default=None, metadata={'description': 'The maximum number of record sets that can be created in this DNS zone. This is a read-only property and any attempt to set this value will be ignored.'}) # fmt: skip
max_number_of_records_per_record_set: Optional[int] = field(default=None, metadata={'description': 'The maximum number of records per record set that can be created in this DNS zone. This is a read-only property and any attempt to set this value will be ignored.'}) # fmt: skip
Expand Down

0 comments on commit 0129e04

Please sign in to comment.