fix configs options
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
parent
c6dfc8acaa
commit
99738096ac
@ -170,7 +170,7 @@ func Auth(a auth.Auth) Option {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Configs sets the configs for the service
|
// Configs sets the configs for the service
|
||||||
func Configs(c []config.Config) Option {
|
func Configs(c ...config.Config) Option {
|
||||||
return func(o *Options) {
|
return func(o *Options) {
|
||||||
o.Configs = c
|
o.Configs = c
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user