From 99738096ac95742b52171c3d911594a0a0d126ae Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Sun, 13 Dec 2020 18:56:54 +0300 Subject: [PATCH] fix configs options Signed-off-by: Vasiliy Tolstov --- options.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/options.go b/options.go index 9faaf94d..78804e58 100644 --- a/options.go +++ b/options.go @@ -170,7 +170,7 @@ func Auth(a auth.Auth) Option { } // Configs sets the configs for the service -func Configs(c []config.Config) Option { +func Configs(c ...config.Config) Option { return func(o *Options) { o.Configs = c }