Skip to content

Commit 5458a87

Browse files
add nolint: dupl directives
1 parent 040ef27 commit 5458a87

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

cmd/kro/kro

-60.5 MB
Binary file not shown.

test/integration/suites/core/dependency_readiness_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ var _ = Describe("Dependency Readiness", func() {
154154

155155
// Verify ResourceGraphDefinition is created and becomes ready
156156
createdRGD := &krov1alpha1.ResourceGraphDefinition{}
157+
//nolint:dupl
157158
Eventually(func(g Gomega, ctx SpecContext) {
158159
err := env.Client.Get(ctx, types.NamespacedName{
159160
Name: rgd.Name,

test/integration/suites/core/include_when_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@ var _ = Describe("Conditions", func() {
211211

212212
// Verify ResourceGraphDefinition is created and becomes ready
213213
createdRGD := &krov1alpha1.ResourceGraphDefinition{}
214+
//nolint:dupl
214215
Eventually(func(g Gomega, ctx SpecContext) {
215216
err := env.Client.Get(ctx, types.NamespacedName{
216217
Name: rgd.Name,

test/integration/suites/core/readiness_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ var _ = Describe("Readiness", func() {
141141

142142
// Verify ResourceGraphDefinition is created and becomes ready
143143
createdRGD := &krov1alpha1.ResourceGraphDefinition{}
144+
//nolint:dupl
144145
Eventually(func(g Gomega, ctx SpecContext) {
145146
err := env.Client.Get(ctx, types.NamespacedName{
146147
Name: rgd.Name,

test/integration/suites/core/validation_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ var _ = Describe("Validation", func() {
167167
})
168168

169169
Context("Kubernetes Object Structure", func() {
170+
//nolint:dupl
170171
It("should validate correct kubernetes object structure", func(ctx SpecContext) {
171172
rgd := generator.NewResourceGraphDefinition("test-k8s-valid",
172173
generator.WithSchema(
@@ -318,6 +319,7 @@ var _ = Describe("Validation", func() {
318319
})
319320

320321
Context("Proper Cleanup", func() {
322+
//nolint:dupl
321323
It("should not panic when deleting an inactive ResourceGraphDefinition", func(ctx SpecContext) {
322324
rgd := generator.NewResourceGraphDefinition("test-cleanup",
323325
generator.WithSchema(

0 commit comments

Comments
 (0)