Skip to content

Commit c1fe559

Browse files
committed
Fix lint error
1 parent 5121a70 commit c1fe559

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

gitlab/resource_gitlab_project_access_token_test.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ func testAccCheckGitlabProjectAccessTokenDoesNotExist(pat *testAccGitlabProjectA
8686
return func(s *terraform.State) error {
8787
conn := testAccProvider.Meta().(*gitlab.Client)
8888

89-
gomega.InterceptGomegaFailure(func() {
89+
return gomega.InterceptGomegaFailure(func() {
9090
gomega.Eventually(func() error {
9191
tokens, _, err := conn.ProjectAccessTokens.ListProjectAccessTokens(pat.project, nil)
9292
if err != nil {
@@ -102,8 +102,6 @@ func testAccCheckGitlabProjectAccessTokenDoesNotExist(pat *testAccGitlabProjectA
102102
return nil
103103
}).WithTimeout(time.Second * 10).WithPolling(time.Second * 2).Should(gomega.Succeed())
104104
})
105-
106-
return nil
107105
}
108106
}
109107

0 commit comments

Comments
 (0)