Skip to content

Commit 531811c

Browse files
Bobbins228openshift-ci[bot]
authored andcommitted
Moved unnecessarily initialized variables in the Reconcile loop
1 parent 5f8b13c commit 531811c

File tree

5 files changed

+649
-373
lines changed

5 files changed

+649
-373
lines changed

controllers/appWrapper_controller_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
99
)
1010

11-
func TestDiscoverInstanceTypes(t *testing.T) {
11+
func (r *AppWrapperReconciler) TestDiscoverInstanceTypes(t *testing.T) {
1212
g := gomega.NewGomegaWithT(t)
1313

1414
tests := []struct {
@@ -99,7 +99,7 @@ func TestDiscoverInstanceTypes(t *testing.T) {
9999

100100
for _, test := range tests {
101101
t.Run(test.name, func(t *testing.T) {
102-
result := discoverInstanceTypes(test.input)
102+
result := r.discoverInstanceTypes(test.input)
103103
g.Expect(result).To(gomega.Equal(test.expected))
104104
})
105105
}

0 commit comments

Comments
 (0)