From 5bb22ed4541cf0e5ea246ebdc89243239afa66ea Mon Sep 17 00:00:00 2001 From: JoramWilander Date: Thu, 1 Oct 2015 15:35:39 -0400 Subject: Fix minor style for gofmt. --- api/post.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api/post.go') diff --git a/api/post.go b/api/post.go index 3167395f1..8770fde38 100644 --- a/api/post.go +++ b/api/post.go @@ -193,7 +193,7 @@ func fireAndForgetWebhookEvent(c *Context, post *model.Post) { } teams := make(map[string]*model.Team) - for _, _ = range isTeamBeingFetched { + for range isTeamBeingFetched { team := <-tchan if team != nil { teams[team.Id] = team -- cgit v1.2.3-1-g7c22