Fix go-micro auth wrapper init

This commit is contained in:
Ben Toogood
2020-04-03 12:27:01 +01:00
parent ebb1a42d48
commit dea2d7ab9f
3 changed files with 4 additions and 4 deletions

View File

@@ -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