From 326976d67282aa8bd8bedb1be958eeef7a013c51 Mon Sep 17 00:00:00 2001 From: Niall Sheridan <nsheridan@gmail.com> Date: Wed, 25 Jan 2017 23:32:40 +0000 Subject: [PATCH] Return a concrete type --- server/auth/gitlab/gitlab.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/auth/gitlab/gitlab.go b/server/auth/gitlab/gitlab.go index ec735c52..f76b2e8d 100644 --- a/server/auth/gitlab/gitlab.go +++ b/server/auth/gitlab/gitlab.go @@ -26,7 +26,7 @@ type Config struct { } // New creates a new Gitlab provider from a configuration. -func New(c *config.Auth) (auth.Provider, error) { +func New(c *config.Auth) (*Config, error) { uw := make(map[string]bool) for _, u := range c.UsersWhitelist { uw[u] = true -- GitLab