Skip to content

Commit eae34de

Browse files
authored
Update table_github_repository.go
1 parent c5b33b9 commit eae34de

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

cloudql/github/table_github_repository.go

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,7 @@ func sharedRepositoryColumns() []*plugin.Column {
1515
Transform: transform.FromField("Description.RepositoryFullName"),
1616
Description: "repository full name",
1717
},
18-
{
19-
Name: "organization",
20-
Type: proto.ColumnType_STRING,
21-
Transform: transform.FromField("Description.Organization"),
22-
Description: "organization name",
23-
},
18+
2419
{
2520
Name: "github_repo_id",
2621
Type: proto.ColumnType_INT,
@@ -135,12 +130,19 @@ func sharedRepositoryColumns() []*plugin.Column {
135130
Transform: transform.FromField("Description.Permissions"),
136131
Description: "Permissions associated with the repository.",
137132
},
133+
{
134+
Name: "organization_name",
135+
Type: proto.ColumnType_STRING,
136+
Transform: transform.FromField("Description.Organization"),
137+
Description: "organization name",
138+
},
138139
{
139140
Name: "organization",
140141
Type: proto.ColumnType_JSON,
141142
Transform: transform.FromField("Description.Organization"),
142143
Description: "Organization details of the repository.",
143144
},
145+
144146
{
145147
Name: "parent",
146148
Type: proto.ColumnType_JSON,

0 commit comments

Comments
 (0)