Skip to content

Commit 6a95721

Browse files
authored
Hacky fix of subresource for networking (#4430)
This fixes the SubResource from DnsResolver to match the SubResource from core networking so that we don't have a million different <Resource>SubResource's created. The issue is that dnsresolver and networking are two different Swagger specifications from two different Swagger folders that both put resources into the networking group. The 2022-07-01 API just happened to be supported by both networking and dnsresolver, but many subsequent API versions of plain networking don't correspond to a dnsresolver version. This results in inconsistencies between type names in the two versions of core networking which causes issues adding a new networking version due to conversion problems.
1 parent 8e7e143 commit 6a95721

File tree

83 files changed

+2071
-3644
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+2071
-3644
lines changed

v2/api/network/v1api20201101/storage/load_balancers_inbound_nat_rule_types_gen.go

+72-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

v2/api/network/v1api20201101/storage/load_balancers_inbound_nat_rule_types_gen_test.go

+43-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

v2/api/network/v1api20201101/storage/structure.txt

+1
Original file line numberDiff line numberDiff line change
@@ -1144,4 +1144,5 @@ augmentConversionForExtendedLocation: Interface
11441144
augmentConversionForExtendedLocation_STATUS: Interface
11451145
augmentConversionForIpTag: Interface
11461146
augmentConversionForIpTag_STATUS: Interface
1147+
augmentConversionForSubResource: Interface
11471148
augmentConversionForSubResource_STATUS: Interface

0 commit comments

Comments
 (0)