Skip to content
This repository was archived by the owner on Jun 26, 2024. It is now read-only.

Commit acd21dc

Browse files
committed
Fix build errors by dependency rename
After rebasing, the /api/v1alpha1 got renamed to just /api, which caused import errors for these changes. This fixes those errors. Signed-off-by: Andy Sadler <[email protected]>
1 parent 308331c commit acd21dc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/reconcile/pipeline/handler/collect/impl.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ func collectItems(prefix string, ctx pipeline.Context, service pipeline.Service,
255255
if mapVal := v.MapIndex(n).Interface(); mapVal != nil {
256256
collectItems(p, ctx, service, n, mapVal)
257257
} else {
258-
condition := v1alpha1.Conditions().NotCollectionReady().
258+
condition := apis.Conditions().NotCollectionReady().
259259
Msg(fmt.Sprintf("Value for key %v_%v not found", prefix+k.String(), n.String())).
260260
Reason(ValueNotFound).Build()
261261
ctx.SetCondition(condition)

pkg/reconcile/pipeline/handler/collect/impl_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1084,7 +1084,7 @@ var _ = Describe("Handle invalid sliceOfMap annotations", func() {
10841084
service.EXPECT().CustomResourceDefinition().Return(crd, nil)
10851085

10861086
ctx.EXPECT().SetCondition(
1087-
v1alpha1.Conditions().NotCollectionReady().
1087+
apis.Conditions().NotCollectionReady().
10881088
Reason(collect.ValueNotFound).
10891089
Msg("Value for key java-maven_port_foo not found").
10901090
Build())

0 commit comments

Comments
 (0)