From 0b1a60fabc1ebc3e6446b426537e33611dec91b5 Mon Sep 17 00:00:00 2001 From: Brad Rydzewski Date: Sun, 16 Jul 2017 14:29:10 -0400 Subject: [PATCH] update gerrit implementation --- remote/gerrit/gerrit.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/remote/gerrit/gerrit.go b/remote/gerrit/gerrit.go index 4554e3ff..4ddc6a32 100644 --- a/remote/gerrit/gerrit.go +++ b/remote/gerrit/gerrit.go @@ -69,18 +69,13 @@ func (c *client) Teams(u *model.User) ([]*model.Team, error) { return empty, nil } -// TeamPerm is not supported by the Gerrit driver. -func (c *client) TeamPerm(u *model.User, org string) (*model.Perm, error) { - return nil, nil -} - // Repo is not supported by the Gerrit driver. func (c *client) Repo(u *model.User, owner, name string) (*model.Repo, error) { return nil, nil } // Repos is not supported by the Gerrit driver. -func (c *client) Repos(u *model.User) ([]*model.RepoLite, error) { +func (c *client) Repos(u *model.User) ([]*model.Repo, error) { return nil, nil }