Commit 63881fe
authored
Remove subnet
Partial revert of cd75ad9
Initially our intention was to generate code to reference for both `GroupName`
and `GroupID` fields in the `UserIDGroupPairs`. However what we (I) missed was
that the code-generator processes the references fields, omits "ID" and "Name"
name fields, and infers names for the referenced fields (e.g `GroupName` ->
`GroupRef` and `GroupID` -> `GroupRef`. This confused the ACK code
generator since both `GroupName` and `GroupID` needed a reference field called
`GroupRef`. This caused some confusion at the code generation level, triggering some
validation issues and introduced a regression in our references code.
In a attempt to address the regression, we will first omit one of the references
(GroupID), regenerate the code and address this in the code-generator later on.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.UserIDGroupPairs.GroupID references (#192)1 parent 34439b0 commit 63881fe
File tree
4 files changed
+10
-70
lines changed- apis/v1alpha1
- pkg/resource/security_group
4 files changed
+10
-70
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
552 | 552 | | |
553 | 553 | | |
554 | 554 | | |
555 | | - | |
556 | | - | |
557 | | - | |
558 | | - | |
559 | 555 | | |
560 | 556 | | |
561 | 557 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
552 | 552 | | |
553 | 553 | | |
554 | 554 | | |
555 | | - | |
556 | | - | |
557 | | - | |
558 | | - | |
559 | 555 | | |
560 | 556 | | |
561 | 557 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments