Skip to content

Commit e0450a6

Browse files
chore: use lighthousev1alpha1
1 parent 40044da commit e0450a6

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
"github.com/jenkins-x/lighthouse/pkg/util"
1716
"github.com/stretchr/testify/assert"
@@ -156,7 +155,7 @@ func TestReconcile(t *testing.T) {
156155
}
157156
}
158157

159-
func loadLighthouseJob(isObserved bool, dir string) (*v1alpha1.LighthouseJob, string, error) {
158+
func loadLighthouseJob(isObserved bool, dir string) (*lighthousev1alpha1.LighthouseJob, string, error) {
160159
var baseFn string
161160
if isObserved {
162161
baseFn = "observed-lhjob.yml"
@@ -169,7 +168,7 @@ func loadLighthouseJob(isObserved bool, dir string) (*v1alpha1.LighthouseJob, st
169168
return nil, fileName, err
170169
}
171170
if exists {
172-
lhjob := &v1alpha1.LighthouseJob{}
171+
lhjob := &lighthousev1alpha1.LighthouseJob{}
173172
data, err := os.ReadFile(fileName)
174173
if err != nil {
175174
return nil, fileName, err

0 commit comments

Comments
 (0)