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

Commit

Permalink
Fix build errors by dependency rename
Browse files Browse the repository at this point in the history
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 <ansadler@redhat.com>
  • Loading branch information
sadlerap committed Sep 7, 2021
1 parent 90cf30f commit ba78d29
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/reconcile/pipeline/handler/collect/impl.go
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ func collectItems(prefix string, ctx pipeline.Context, service pipeline.Service,
if mapVal := v.MapIndex(n).Interface(); mapVal != nil {
collectItems(p, ctx, service, n, mapVal)
} else {
condition := v1alpha1.Conditions().NotCollectionReady().
condition := apis.Conditions().NotCollectionReady().
Msg(fmt.Sprintf("Value for key %v_%v not found", prefix+k.String(), n.String())).
Reason(ValueNotFound).Build()
ctx.SetCondition(condition)
Expand Down
2 changes: 1 addition & 1 deletion pkg/reconcile/pipeline/handler/collect/impl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1084,7 +1084,7 @@ var _ = Describe("Handle invalid sliceOfMap annotations", func() {
service.EXPECT().CustomResourceDefinition().Return(crd, nil)

ctx.EXPECT().SetCondition(
v1alpha1.Conditions().NotCollectionReady().
apis.Conditions().NotCollectionReady().
Reason(collect.ValueNotFound).
Msg("Value for key java-maven_port_foo not found").
Build())
Expand Down

0 comments on commit ba78d29

Please sign in to comment.