Skip to content

Commit

Permalink
fix watch in image waiter to look for v1alpha1 images
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkennedy513 committed Oct 5, 2021
1 parent a14c908 commit 22a8bb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/logs/watch_image.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

0 comments on commit 22a8bb9

Please sign in to comment.