parent
4648fd0d09
commit
329bd09f93
@ -692,10 +692,7 @@ func (c *cmd) Before(ctx *cli.Context) error {
|
|||||||
|
|
||||||
authOpts = append(authOpts, auth.Provider(p(provOpts...)))
|
authOpts = append(authOpts, auth.Provider(p(provOpts...)))
|
||||||
}
|
}
|
||||||
|
(*c.opts.Auth).Init(authOpts...)
|
||||||
if len(authOpts) > 0 {
|
|
||||||
(*c.opts.Auth).Init(authOpts...)
|
|
||||||
}
|
|
||||||
|
|
||||||
if ctx.String("config") == "service" {
|
if ctx.String("config") == "service" {
|
||||||
opt := config.WithSource(configSrv.NewSource())
|
opt := config.WithSource(configSrv.NewSource())
|
||||||
|
Loading…
Reference in New Issue
Block a user