Skip to content

Commit c9a7c1a

Browse files
authored
Fix typo in deployment branch policy import (#1758)
Tested in reality, works well after the fix :)
1 parent bd56d13 commit c9a7c1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

github/resource_github_repository_deployment_branch_policy.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ func resourceGithubRepositoryDeploymentBranchPolicyImport(d *schema.ResourceData
150150
d.Set("repository", repoName)
151151
d.Set("environment_name", environmentName)
152152

153-
err = resourceGithubBranchRead(d, meta)
153+
err = resourceGithubRepositoryDeploymentBranchPolicyRead(d, meta)
154154
if err != nil {
155155
return nil, err
156156
}

0 commit comments

Comments
 (0)