From 22a8bb9970bec006c4daecb0f8f6550eaad919f9 Mon Sep 17 00:00:00 2001 From: Tom Kennedy Date: Tue, 5 Oct 2021 11:20:19 -0400 Subject: [PATCH] fix watch in image waiter to look for v1alpha1 images --- pkg/logs/watch_image.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/logs/watch_image.go b/pkg/logs/watch_image.go index 949ffa355..c5220a5e5 100644 --- a/pkg/logs/watch_image.go +++ b/pkg/logs/watch_image.go @@ -19,5 +19,5 @@ type watchOneImage struct { func (w watchOneImage) Watch(options v1.ListOptions) (watch.Interface, error) { options.FieldSelector = fmt.Sprintf("metadata.name=%s", w.image.Name) - return w.kpackClient.KpackV1alpha2().Images(w.image.Namespace).Watch(w.ctx, options) + return w.kpackClient.KpackV1alpha1().Images(w.image.Namespace).Watch(w.ctx, options) }