File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -62,13 +62,13 @@ type (
6262)
6363
6464// NewClient returns a new interceptor client that calls the functions in fns instead of the underlying client's methods, if they are not nil.
65- func NewClient (client client.WithWatch , fns Fns ) client.WithWatch {
66- return interceptor {client : client , fns : fns }
65+ func NewClient (interceptedClient client.WithWatch , fns Fns ) client.WithWatch {
66+ return interceptor {client : interceptedClient , fns : fns }
6767}
6868
6969// NewSubResourceClient returns a SubResourceClient that intercepts calls to the provided client with the provided functions.
70- func NewSubResourceClient (client client.SubResourceClient , fns SubResourceFns ) client.SubResourceClient {
71- return subResourceInterceptor {client : client , fns : fns }
70+ func NewSubResourceClient (interceptedClient client.SubResourceClient , fns SubResourceFns ) client.SubResourceClient {
71+ return subResourceInterceptor {client : interceptedClient , fns : fns }
7272}
7373
7474type interceptor struct {
You can’t perform that action at this time.
0 commit comments