Skip to content

Commit f9ae9b4

Browse files
authored
[fix]: Fixed incorrect error handling that led to panic in github_repository_environment
2 parents e126a43 + ff8ae8d commit f9ae9b4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

github/resource_github_repository_environment.go

+1
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ func resourceGithubRepositoryEnvironmentRead(d *schema.ResourceData, meta interf
129129
return nil
130130
}
131131
}
132+
return err
132133
}
133134

134135
d.Set("repository", repoName)

0 commit comments

Comments
 (0)