Skip to content

Commit

Permalink
Adapt fn signature to the new controller-runtime version
Browse files Browse the repository at this point in the history
See kubernetes-sigs/controller-runtime#1917

Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
  • Loading branch information
antgamdia committed Sep 6, 2022
1 parent 2db0c8a commit f161dc6
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -46,7 +46,7 @@ func (w *withWatchWrapper) Create(ctx context.Context, obj client.Object, opts .
return w.delegate.Create(ctx, obj, opts...)
}

func (w *withWatchWrapper) Get(ctx context.Context, key client.ObjectKey, obj client.Object) error {
func (w *withWatchWrapper) Get(ctx context.Context, key client.ObjectKey, obj client.Object, opts ...client.GetOption) error {
return w.delegate.Get(ctx, key, obj)
}

Expand Down

0 comments on commit f161dc6

Please sign in to comment.