Skip to content

Commit fbbb3fb

Browse files
committed
fix: Update function signatures to use 'any' instead of 'interface{}'
1 parent 80da967 commit fbbb3fb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

github/resource_github_branch.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ func resourceGithubBranchDelete(d *schema.ResourceData, meta any) error {
186186
return nil
187187
}
188188

189-
func resourceGithubBranchUpdate(d *schema.ResourceData, meta interface{}) error {
189+
func resourceGithubBranchUpdate(d *schema.ResourceData, meta any) error {
190190
if !d.HasChange("branch") {
191191
return resourceGithubBranchRead(d, meta)
192192
}
@@ -209,7 +209,7 @@ func resourceGithubBranchUpdate(d *schema.ResourceData, meta interface{}) error
209209
return resourceGithubBranchRead(d, meta)
210210
}
211211

212-
func resourceGithubBranchImport(d *schema.ResourceData, meta interface{}) ([]*schema.ResourceData, error) {
212+
func resourceGithubBranchImport(d *schema.ResourceData, meta any) ([]*schema.ResourceData, error) {
213213
repoName, branchName, err := parseTwoPartID(d.Id(), "repository", "branch")
214214
if err != nil {
215215
return nil, err

0 commit comments

Comments
 (0)