Add Debug.Cache method
This commit is contained in:
@@ -475,7 +475,8 @@ func (c *cmd) Before(ctx *cli.Context) error {
|
||||
// after the cache client since the wrappers are applied in reverse order and the cache will use
|
||||
// some of the headers set by the auth client.
|
||||
authFn := func() auth.Auth { return *c.opts.Auth }
|
||||
microClient := wrapper.CacheClient(grpc.NewClient())
|
||||
cacheFn := func() *client.Cache { return (*c.opts.Client).Options().Cache }
|
||||
microClient := wrapper.CacheClient(cacheFn, grpc.NewClient())
|
||||
microClient = wrapper.AuthClient(authFn, microClient)
|
||||
|
||||
// Set the store
|
||||
|
Reference in New Issue
Block a user