mirror of
https://github.com/go-micro/go-micro.git
synced 2025-05-31 21:59:42 +02:00
go fmt
This commit is contained in:
parent
9deb715ebb
commit
12eff1cc60
@ -616,7 +616,7 @@ func (c *cmd) Before(ctx *cli.Context) error {
|
||||
if name := ctx.String("config"); len(name) > 0 {
|
||||
// only change if we have the server and type differs
|
||||
if r, ok := c.opts.Configs[name]; ok {
|
||||
rc , err := r()
|
||||
rc, err := r()
|
||||
if err != nil {
|
||||
logger.Fatalf("Error configuring config: %v", err)
|
||||
}
|
||||
@ -624,7 +624,6 @@ func (c *cmd) Before(ctx *cli.Context) error {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
@ -129,7 +129,7 @@ func TraceHandler(t trace.Tracer) server.HandlerWrapper {
|
||||
}
|
||||
|
||||
func AuthCall(a func() auth.Auth, c client.Client) client.Client {
|
||||
return &authWrapper{Client:c, auth: a}
|
||||
return &authWrapper{Client: c, auth: a}
|
||||
}
|
||||
|
||||
type authWrapper struct {
|
||||
|
Loading…
x
Reference in New Issue
Block a user