Skip to content

Commit 5dd8ef6

Browse files
committed
Fixing lint
1 parent 85b1956 commit 5dd8ef6

2 files changed

Lines changed: 3 additions & 6 deletions

File tree

github/resource_github_enterprise_ip_allow_list_entry.go

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ func resourceGithubEnterpriseIpAllowListEntryRead(ctx context.Context, d *schema
132132
} `graphql:"node(id: $id)"`
133133
}
134134

135-
variables := map[string]interface{}{
135+
variables := map[string]any{
136136
"id": githubv4.ID(d.Id()),
137137
}
138138

@@ -248,7 +248,7 @@ func resourceGithubEnterpriseIpAllowListEntryImport(ctx context.Context, d *sche
248248
} `graphql:"node(id: $id)"`
249249
}
250250

251-
variables := map[string]interface{}{
251+
variables := map[string]any{
252252
"id": githubv4.ID(d.Id()),
253253
}
254254

@@ -268,9 +268,6 @@ func resourceGithubEnterpriseIpAllowListEntryImport(ctx context.Context, d *sche
268268
if err := d.Set("name", entry.Name); err != nil {
269269
return nil, err
270270
}
271-
if err := d.Set("ip", entry.AllowListValue); err != nil {
272-
return nil, err
273-
}
274271
if err := d.Set("is_active", entry.IsActive); err != nil {
275272
return nil, err
276273
}

github/util_v4.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ func getEnterpriseID(ctx context.Context, client *githubv4.Client, enterpriseSlu
6060
} `graphql:"enterprise(slug: $slug)"`
6161
}
6262

63-
variables := map[string]interface{}{
63+
variables := map[string]any{
6464
"slug": githubv4.String(enterpriseSlug),
6565
}
6666

0 commit comments

Comments
 (0)