Skip to content

Commit a27db53

Browse files
chore: use lighthousev1alpha1
1 parent e231eb7 commit a27db53

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pkg/engines/tekton/controller_test.go

+2-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import (
1111
"github.com/stretchr/testify/require"
1212

1313
"github.com/google/go-cmp/cmp"
14-
"github.com/jenkins-x/lighthouse/pkg/apis/lighthouse/v1alpha1"
1514
lighthousev1alpha1 "github.com/jenkins-x/lighthouse/pkg/apis/lighthouse/v1alpha1"
1615

1716
"github.com/jenkins-x/lighthouse/pkg/util"
@@ -148,7 +147,7 @@ func TestReconcile(t *testing.T) {
148147
}
149148
}
150149

151-
func loadLighthouseJob(isObserved bool, dir string) (*v1alpha1.LighthouseJob, string, error) {
150+
func loadLighthouseJob(isObserved bool, dir string) (*lighthousev1alpha1.LighthouseJob, string, error) {
152151
var baseFn string
153152
if isObserved {
154153
baseFn = "observed-lhjob.yml"
@@ -161,7 +160,7 @@ func loadLighthouseJob(isObserved bool, dir string) (*v1alpha1.LighthouseJob, st
161160
return nil, fileName, err
162161
}
163162
if exists {
164-
lhjob := &v1alpha1.LighthouseJob{}
163+
lhjob := &lighthousev1alpha1.LighthouseJob{}
165164
data, err := os.ReadFile(fileName)
166165
if err != nil {
167166
return nil, fileName, err

0 commit comments

Comments
 (0)