Skip to content

Commit c32818a

Browse files
committed
changes according to PR review
1 parent 67fe75c commit c32818a

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

api/v1beta1/types.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -854,8 +854,8 @@ type Subnet struct {
854854
ID *string `json:"id,omitempty"`
855855
// Subnet Name.
856856
Name string `json:"name"`
857-
// Skip specifies whether to skip creating subnets. If set to true(default: false) the ID
858-
// has to be specified by the user to a valid Subnet ID.
857+
// Skip specifies whether to skip creating subnets. If set to true (default: false) the ID
858+
// must be specified by the user to a valid Subnet ID.
859859
// +optional
860860
Skip bool `json:"skip,omitempty"`
861861
// Subnet CIDR.
@@ -911,8 +911,8 @@ type VCN struct {
911911
Name string `json:"name"`
912912

913913
// Skip specifies whether to skip creating VCN.
914-
// When is set to true, InternetGateway, NatGateway, ServiceGateway, RouteTable should be also have Skip set to true
915-
// If set to true(default: false) the ID has to be specified by the user to a valid VCN ID.
914+
// When is set to true, InternetGateway, NatGateway, ServiceGateway, RouteTable must have also Skip set to true
915+
// If set to true(default: false) the ID must be specified by the user to a valid VCN ID.
916916
// +optional
917917
Skip bool `json:"skip,omitempty"`
918918

api/v1beta2/types.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -855,7 +855,7 @@ type Subnet struct {
855855
// Subnet Name.
856856
Name string `json:"name"`
857857
// Skip specifies whether to skip creating subnets. If set to true(default: false) the ID
858-
// has to be specified by the user to a valid Subnet ID.
858+
// must be specified by the user to a valid Subnet ID.
859859
// +optional
860860
Skip bool `json:"skip,omitempty"`
861861
// Subnet CIDR.
@@ -911,8 +911,8 @@ type VCN struct {
911911
Name string `json:"name"`
912912

913913
// Skip specifies whether to skip creating VCN.
914-
// When is set to true, InternetGateway, NatGateway, ServiceGateway, RouteTable should be also have Skip set to true
915-
// If set to true(default: false) the ID has to be specified by the user to a valid VCN ID.
914+
// When is set to true, InternetGateway, NatGateway, ServiceGateway, RouteTable must have also Skip set to true
915+
// If set to true(default: false) the ID must be specified by the user to a valid VCN ID.
916916
// +optional
917917
Skip bool `json:"skip,omitempty"`
918918

@@ -1135,7 +1135,7 @@ type RemotePeeringConnection struct {
11351135
// InternetGateway is used to specify the options for creating internet gateway.
11361136
type InternetGateway struct {
11371137
// Skip specifies whether to skip creating internet gateway even if any one Subnet is public.
1138-
// In case of VCN being Skipped (Skip field of VCN set to true), this field should be true also
1138+
// In case of VCN being Skipped (Skip field of VCN set to true), this field must be true also
11391139
// +optional
11401140
Skip bool `json:"skip,omitempty"`
11411141

@@ -1147,7 +1147,7 @@ type InternetGateway struct {
11471147
// NATGateway is used to specify the options for creating NAT gateway.
11481148
type NATGateway struct {
11491149
// Skip specifies whether to skip creating NAT gateway even if any one Subnet is private.
1150-
// In case of VCN being Skipped (Skip field of VCN set to true), this field should be true also
1150+
// In case of VCN being Skipped (Skip field of VCN set to true), this field must be true also
11511151
// +optional
11521152
Skip bool `json:"skip,omitempty"`
11531153

@@ -1159,7 +1159,7 @@ type NATGateway struct {
11591159
// ServiceGateway is used to specify the options for creating Service gateway.
11601160
type ServiceGateway struct {
11611161
// Skip specifies whether to skip creating Service gateway.
1162-
// In case of VCN being Skipped (Skip field of VCN set to true), this field should be true also
1162+
// In case of VCN being Skipped (Skip field of VCN set to true), this field must be true also
11631163
// +optional
11641164
Skip bool `json:"skip,omitempty"`
11651165

@@ -1171,7 +1171,7 @@ type ServiceGateway struct {
11711171
// RouteTable is used to specify the options for creating Route table.
11721172
type RouteTable struct {
11731173
// Skip specifies whether to skip creating Route table.
1174-
// In case of VCN being Skipped (Skip field of VCN set to true), this field should be true also
1174+
// In case of VCN being Skipped (Skip field of VCN set to true), this field must be true also
11751175
// +optional
11761176
Skip bool `json:"skip,omitempty"`
11771177

test/e2e/cluster_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ var _ = Describe("Workload cluster creation", func() {
582582
}, result)
583583
})
584584

585-
It("Self manage NSG [PRBlocking]", func() {
585+
It("Self manage NSG", func() {
586586
clusterName = getClusterName(clusterNamePrefix, "self-manage-nsg")
587587
clusterctl.ApplyClusterTemplateAndWait(ctx, clusterctl.ApplyClusterTemplateAndWaitInput{
588588
ClusterProxy: bootstrapClusterProxy,

0 commit comments

Comments
 (0)