Commit 6063435 1 parent b66b57a commit 6063435 Copy full SHA for 6063435
File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -62,13 +62,13 @@ type (
62
62
)
63
63
64
64
// 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 }
67
67
}
68
68
69
69
// 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 }
72
72
}
73
73
74
74
type interceptor struct {
You can’t perform that action at this time.
0 commit comments