Skip to content

Commit

Permalink
github_repository_file - Fix creation crash (#732)
Browse files Browse the repository at this point in the history
  • Loading branch information
magodo authored Mar 24, 2021
1 parent 2cb5135 commit b877469
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion github/resource_github_repository_file.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ func resourceGithubRepositoryFileCreate(d *schema.ResourceData, meta interface{}
}

d.SetId(fmt.Sprintf("%s/%s", repo, file))
d.Set("commit", create.Commit.GetSHA())
d.Set("commit_sha", create.Commit.GetSHA())

return resourceGithubRepositoryFileRead(d, meta)
}
Expand Down

0 comments on commit b877469

Please sign in to comment.