Skip to content

Commit 45dfcd5

Browse files
committed
fix: remove duplicate column
1 parent eae34de commit 45dfcd5

File tree

3 files changed

+3
-10
lines changed

3 files changed

+3
-10
lines changed

cloudql/github/table_github_license.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ func tableGitHubLicense() *plugin.Table {
3131
Name: "organization",
3232
Type: proto.ColumnType_STRING,
3333
Transform: transform.FromField("Description.Organization"),
34-
Description: "",
34+
Description: "organization",
3535
},
3636
{
3737
Name: "name",

cloudql/github/table_github_organization_dependabot_alert.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,6 @@ import (
1010

1111
func gitHubDependabotAlertColumns() []*plugin.Column {
1212
return []*plugin.Column{
13-
{
14-
Name: "organization",
15-
Type: proto.ColumnType_STRING,
16-
Transform: transform.FromField("Description.Organization"),
17-
Description: "organization name",
18-
},
1913
{
2014
Name: "alert_number",
2115
Type: proto.ColumnType_INT,

cloudql/github/table_github_organization_team.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,8 @@ func tableGitHubOrganizationTeam() *plugin.Table {
8080
Hydrate: opengovernance.ListTeamMembers,
8181
},
8282
Get: &plugin.GetConfig{
83-
KeyColumns: plugin.AllColumns([]string{"organization", "slug"}),
84-
ShouldIgnoreError: isNotFoundError([]string{"404"}),
85-
Hydrate: opengovernance.GetTeamMembers,
83+
KeyColumns: plugin.AllColumns([]string{"organization", "slug"}),
84+
Hydrate: opengovernance.GetTeamMembers,
8685
},
8786
Columns: commonColumns(gitHubTeamColumns()),
8887
}

0 commit comments

Comments
 (0)