Fix go-micro auth wrapper init
This commit is contained in:
@@ -494,6 +494,7 @@ func (c *cmd) Before(ctx *cli.Context) error {
|
||||
|
||||
*c.opts.Auth = a()
|
||||
clientOpts = append(clientOpts, client.Auth(*c.opts.Auth))
|
||||
serverOpts = append(serverOpts, server.Auth(*c.opts.Auth))
|
||||
}
|
||||
|
||||
// Set the profile
|
||||
|
Reference in New Issue
Block a user