fix configs options

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
Василий Толстов 2020-12-13 18:56:54 +03:00
parent c6dfc8acaa
commit 99738096ac

View File

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