From 45d1fc03cb043b585c81d15163184be7691f5fc8 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Fri, 30 Mar 2018 07:21:27 +0800 Subject: fix go vet error (#3740) --- routers/repo/issue_label_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'routers/repo') diff --git a/routers/repo/issue_label_test.go b/routers/repo/issue_label_test.go index 9052a65d28..bf62511258 100644 --- a/routers/repo/issue_label_test.go +++ b/routers/repo/issue_label_test.go @@ -32,7 +32,7 @@ func TestInitializeLabels(t *testing.T) { ctx := test.MockContext(t, "user2/repo1/labels/initialize") test.LoadUser(t, ctx, 2) test.LoadRepo(t, ctx, 2) - InitializeLabels(ctx, auth.InitializeLabelsForm{"Default"}) + InitializeLabels(ctx, auth.InitializeLabelsForm{TemplateName: "Default"}) assert.EqualValues(t, http.StatusFound, ctx.Resp.Status()) models.AssertExistsAndLoadBean(t, &models.Label{ RepoID: 2, -- cgit v1.2.3