Skip to content

Commit 354c281

Browse files
committed
fix: Address linting issues in github_organization_app_installations
Signed-off-by: atilsensalduz <[email protected]>
1 parent 132422d commit 354c281

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

github/data_source_github_organization_app_installations.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ func dataSourceGithubOrganizationAppInstallations() *schema.Resource {
8484
}
8585
}
8686

87-
func dataSourceGithubOrganizationAppInstallationsRead(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics {
87+
func dataSourceGithubOrganizationAppInstallationsRead(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics {
8888
owner := meta.(*Owner).name
8989

9090
client := meta.(*Owner).v3client
@@ -93,7 +93,7 @@ func dataSourceGithubOrganizationAppInstallationsRead(ctx context.Context, d *sc
9393
PerPage: maxPerPage,
9494
}
9595

96-
results := make([]map[string]interface{}, 0)
96+
results := make([]map[string]any, 0)
9797
for {
9898
appInstallations, resp, err := client.Organizations.ListInstallations(ctx, owner, options)
9999
if err != nil {
@@ -117,15 +117,15 @@ func dataSourceGithubOrganizationAppInstallationsRead(ctx context.Context, d *sc
117117
return nil
118118
}
119119

120-
func flattenGitHubAppInstallations(orgAppInstallations []*github.Installation) []map[string]interface{} {
121-
results := make([]map[string]interface{}, 0)
120+
func flattenGitHubAppInstallations(orgAppInstallations []*github.Installation) []map[string]any {
121+
results := make([]map[string]any, 0)
122122

123123
if orgAppInstallations == nil {
124124
return results
125125
}
126126

127127
for _, appInstallation := range orgAppInstallations {
128-
result := make(map[string]interface{})
128+
result := make(map[string]any)
129129

130130
result["id"] = appInstallation.GetID()
131131
result["slug"] = appInstallation.GetAppSlug()

0 commit comments

Comments
 (0)