Skip to content

Commit 12601c6

Browse files
authored
Recompile plugin with steampipe-plugin-sdk v5.14.0 and Go version 1.26.0 (#539)
1 parent aae220b commit 12601c6

10 files changed

+43
-45
lines changed

github/table_github_audit_log.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ func tableGitHubAuditLogList(ctx context.Context, d *plugin.QueryData, h *plugin
8787
// Reduce the basic request limit down if the user has only requested a small number of rows
8888
limit := d.QueryContext.Limit
8989
if limit != nil {
90-
if *limit < int64(opts.ListCursorOptions.PerPage) {
91-
opts.ListCursorOptions.PerPage = int(*limit)
90+
if *limit < int64(opts.PerPage) {
91+
opts.PerPage = int(*limit)
9292
}
9393
}
9494

github/table_github_my_gist.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ func tableGitHubMyGistList(ctx context.Context, d *plugin.QueryData, h *plugin.H
2525

2626
limit := d.QueryContext.Limit
2727
if limit != nil {
28-
if *limit < int64(opt.ListOptions.PerPage) {
29-
opt.ListOptions.PerPage = int(*limit)
28+
if *limit < int64(opt.PerPage) {
29+
opt.PerPage = int(*limit)
3030
}
3131
}
3232

github/table_github_organization_dependabot_alert.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -240,8 +240,8 @@ func tableGitHubOrganizationDependabotAlertList(ctx context.Context, d *plugin.Q
240240
client := connect(ctx, d)
241241
limit := d.QueryContext.Limit
242242
if limit != nil {
243-
if *limit < int64(opt.ListCursorOptions.First) {
244-
opt.ListCursorOptions.First = int(*limit)
243+
if *limit < int64(opt.First) {
244+
opt.First = int(*limit)
245245
}
246246
}
247247

@@ -264,7 +264,7 @@ func tableGitHubOrganizationDependabotAlertList(ctx context.Context, d *plugin.Q
264264
break
265265
}
266266

267-
opt.ListCursorOptions.After = resp.After
267+
opt.After = resp.After
268268
}
269269

270270
return nil, nil

github/table_github_repository_dependabot_alert.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ func tableGitHubRepositoryDependabotAlertList(ctx context.Context, d *plugin.Que
9494
client := connect(ctx, d)
9595
limit := d.QueryContext.Limit
9696
if limit != nil {
97-
if *limit < int64(opt.ListCursorOptions.First) {
98-
opt.ListCursorOptions.First = int(*limit)
97+
if *limit < int64(opt.First) {
98+
opt.First = int(*limit)
9999
}
100100
}
101101

@@ -118,7 +118,7 @@ func tableGitHubRepositoryDependabotAlertList(ctx context.Context, d *plugin.Que
118118
break
119119
}
120120

121-
opt.ListCursorOptions.After = resp.After
121+
opt.After = resp.After
122122
}
123123

124124
return nil, nil

github/table_github_search_code.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ func tableGitHubSearchCodeList(ctx context.Context, d *plugin.QueryData, h *plug
5252
// Reduce the basic request limit down if the user has only requested a small number of rows
5353
limit := d.QueryContext.Limit
5454
if limit != nil {
55-
if *limit < int64(opt.ListOptions.PerPage) {
56-
opt.ListOptions.PerPage = int(*limit)
55+
if *limit < int64(opt.PerPage) {
56+
opt.PerPage = int(*limit)
5757
}
5858
}
5959

github/table_github_search_commit.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ func tableGitHubSearchCommitList(ctx context.Context, d *plugin.QueryData, h *pl
5757
// Reduce the basic request limit down if the user has only requested a small number of rows
5858
limit := d.QueryContext.Limit
5959
if limit != nil {
60-
if *limit < int64(opt.ListOptions.PerPage) {
61-
opt.ListOptions.PerPage = int(*limit)
60+
if *limit < int64(opt.PerPage) {
61+
opt.PerPage = int(*limit)
6262
}
6363
}
6464

github/table_github_search_label.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ func tableGitHubSearchLabelList(ctx context.Context, d *plugin.QueryData, h *plu
5656
// Reduce the basic request limit down if the user has only requested a small number of rows
5757
limit := d.QueryContext.Limit
5858
if limit != nil {
59-
if *limit < int64(opt.ListOptions.PerPage) {
60-
opt.ListOptions.PerPage = int(*limit)
59+
if *limit < int64(opt.PerPage) {
60+
opt.PerPage = int(*limit)
6161
}
6262
}
6363

github/table_github_search_topic.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ func tableGitHubSearchTopicList(ctx context.Context, d *plugin.QueryData, h *plu
5454
// Reduce the basic request limit down if the user has only requested a small number of rows
5555
limit := d.QueryContext.Limit
5656
if limit != nil {
57-
if *limit < int64(opt.ListOptions.PerPage) {
58-
opt.ListOptions.PerPage = int(*limit)
57+
if *limit < int64(opt.PerPage) {
58+
opt.PerPage = int(*limit)
5959
}
6060
}
6161

go.mod

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
module github.com/turbot/steampipe-plugin-github
22

3-
go 1.24
4-
5-
toolchain go1.24.1
3+
go 1.26.0
64

75
require (
86
github.com/bradleyfalzon/ghinstallation v1.1.1
@@ -11,7 +9,7 @@ require (
119
github.com/google/go-github/v55 v55.0.0
1210
github.com/shurcooL/githubv4 v0.0.0-20231126234147-1cffa1f02456
1311
github.com/turbot/go-kit v1.1.0
14-
github.com/turbot/steampipe-plugin-sdk/v5 v5.13.1
12+
github.com/turbot/steampipe-plugin-sdk/v5 v5.14.0
1513
golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56
1614
golang.org/x/oauth2 v0.27.0
1715
)
@@ -104,14 +102,14 @@ require (
104102
go.opentelemetry.io/otel/sdk/metric v1.26.0 // indirect
105103
go.opentelemetry.io/otel/trace v1.26.0 // indirect
106104
go.opentelemetry.io/proto/otlp v1.2.0 // indirect
107-
golang.org/x/crypto v0.36.0 // indirect
108-
golang.org/x/mod v0.19.0 // indirect
109-
golang.org/x/net v0.38.0 // indirect
110-
golang.org/x/sync v0.12.0 // indirect
111-
golang.org/x/sys v0.31.0 // indirect
112-
golang.org/x/text v0.23.0 // indirect
105+
golang.org/x/crypto v0.45.0 // indirect
106+
golang.org/x/mod v0.29.0 // indirect
107+
golang.org/x/net v0.47.0 // indirect
108+
golang.org/x/sync v0.18.0 // indirect
109+
golang.org/x/sys v0.38.0 // indirect
110+
golang.org/x/text v0.31.0 // indirect
113111
golang.org/x/time v0.5.0 // indirect
114-
golang.org/x/tools v0.23.0 // indirect
112+
golang.org/x/tools v0.38.0 // indirect
115113
google.golang.org/api v0.171.0 // indirect
116114
google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de // indirect
117115
google.golang.org/genproto/googleapis/api v0.0.0-20240604185151-ef581f913117 // indirect

go.sum

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1085,8 +1085,8 @@ github.com/tkrajina/go-reflector v0.5.6 h1:hKQ0gyocG7vgMD2M3dRlYN6WBBOmdoOzJ6njQ
10851085
github.com/tkrajina/go-reflector v0.5.6/go.mod h1:ECbqLgccecY5kPmPmXg1MrHW585yMcDkVl6IvJe64T4=
10861086
github.com/turbot/go-kit v1.1.0 h1:2gW+MFDJD+mN41GcvhAajTrwR8HgN9KKJ8HnYwPGTV0=
10871087
github.com/turbot/go-kit v1.1.0/go.mod h1:1xmRuQ0cn/10QUMNLNOAFIqN8P6Rz5s3VLT8mkN3nF8=
1088-
github.com/turbot/steampipe-plugin-sdk/v5 v5.13.1 h1:XiZ3Sh25JhSJXOaw/j8N3ykSTFuxUNO7kKmnnJNr0Fk=
1089-
github.com/turbot/steampipe-plugin-sdk/v5 v5.13.1/go.mod h1:5mZnBnYCi3FOsbX54QvTAw06GOyLe2EO5hOEugiiKvk=
1088+
github.com/turbot/steampipe-plugin-sdk/v5 v5.14.0 h1:CyufzeM2BMbA2nJRuujucchp9NZ6BEeYA2phhdMXsW4=
1089+
github.com/turbot/steampipe-plugin-sdk/v5 v5.14.0/go.mod h1:VHKUVPx29JEHXjuY9Kj/fdabceHdGQB1kaH4Dik/XY8=
10901090
github.com/ulikunitz/xz v0.5.10/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14=
10911091
github.com/ulikunitz/xz v0.5.15 h1:9DNdB5s+SgV3bQ2ApL10xRc35ck0DuIX/isZvIk+ubY=
10921092
github.com/ulikunitz/xz v0.5.15/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14=
@@ -1153,8 +1153,8 @@ golang.org/x/crypto v0.13.0/go.mod h1:y6Z2r+Rw4iayiXXAIxJIDAJ1zMW4yaTpebo8fPOliY
11531153
golang.org/x/crypto v0.19.0/go.mod h1:Iy9bg/ha4yyC70EfRS8jz+B6ybOBKMaSxLj6P6oBDfU=
11541154
golang.org/x/crypto v0.23.0/go.mod h1:CKFgDieR+mRhux2Lsu27y0fO304Db0wZe70UKqHu0v8=
11551155
golang.org/x/crypto v0.32.0/go.mod h1:ZnnJkOaASj8g0AjIduWNlq2NRxL0PlBrbKVyZ6V/Ugc=
1156-
golang.org/x/crypto v0.36.0 h1:AnAEvhDddvBdpY+uR+MyHmuZzzNqXSe/GvuDeob5L34=
1157-
golang.org/x/crypto v0.36.0/go.mod h1:Y4J0ReaxCR1IMaabaSMugxJES1EpwhBHhv2bDHklZvc=
1156+
golang.org/x/crypto v0.45.0 h1:jMBrvKuj23MTlT0bQEOBcAE0mjg8mK9RXFhRH6nyF3Q=
1157+
golang.org/x/crypto v0.45.0/go.mod h1:XTGrrkGJve7CYK7J8PEww4aY7gM3qMCElcJQ8n8JdX4=
11581158
golang.org/x/exp v0.0.0-20180321215751-8460e604b9de/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
11591159
golang.org/x/exp v0.0.0-20180807140117-3d87b88a115f/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
11601160
golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
@@ -1217,8 +1217,8 @@ golang.org/x/mod v0.9.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
12171217
golang.org/x/mod v0.12.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
12181218
golang.org/x/mod v0.15.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c=
12191219
golang.org/x/mod v0.17.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c=
1220-
golang.org/x/mod v0.19.0 h1:fEdghXQSo20giMthA7cd28ZC+jts4amQ3YMXiP5oMQ8=
1221-
golang.org/x/mod v0.19.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c=
1220+
golang.org/x/mod v0.29.0 h1:HV8lRxZC4l2cr3Zq1LvtOsi/ThTgWnUk/y64QSs8GwA=
1221+
golang.org/x/mod v0.29.0/go.mod h1:NyhrlYXJ2H4eJiRy/WDBO6HMqZQ6q9nk4JzS3NuCK+w=
12221222
golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
12231223
golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
12241224
golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
@@ -1285,8 +1285,8 @@ golang.org/x/net v0.15.0/go.mod h1:idbUs1IY1+zTqbi8yxTbhexhEEk5ur9LInksu6HrEpk=
12851285
golang.org/x/net v0.21.0/go.mod h1:bIjVDfnllIU7BJ2DNgfnXvpSvtn8VRwhlsaeUTyUS44=
12861286
golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM=
12871287
golang.org/x/net v0.34.0/go.mod h1:di0qlW3YNM5oh6GqDGQr92MyTozJPmybPK4Ev/Gm31k=
1288-
golang.org/x/net v0.38.0 h1:vRMAPTMaeGqVhG5QyLJHqNDwecKTomGeqbnfZyKlBI8=
1289-
golang.org/x/net v0.38.0/go.mod h1:ivrbrMbzFq5J41QOQh0siUuly180yBYtLp+CKbEaFx8=
1288+
golang.org/x/net v0.47.0 h1:Mx+4dIFzqraBXUugkia1OOvlD6LemFo1ALMHjrXDOhY=
1289+
golang.org/x/net v0.47.0/go.mod h1:/jNxtkgq5yWUGYkaZGqo27cfGZ1c5Nen03aYrrKpVRU=
12901290
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
12911291
golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
12921292
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
@@ -1338,8 +1338,8 @@ golang.org/x/sync v0.3.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y=
13381338
golang.org/x/sync v0.6.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
13391339
golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
13401340
golang.org/x/sync v0.10.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
1341-
golang.org/x/sync v0.12.0 h1:MHc5BpPuC30uJk597Ri8TV3CNZcTLu6B6z4lJy+g6Jw=
1342-
golang.org/x/sync v0.12.0/go.mod h1:1dzgHSNfp02xaA81J2MS99Qcpr2w7fw1gpm99rleRqA=
1341+
golang.org/x/sync v0.18.0 h1:kr88TuHDroi+UVf+0hZnirlk8o8T+4MrK6mr60WkH/I=
1342+
golang.org/x/sync v0.18.0/go.mod h1:9KTHXmSnoGruLpwFjVSX0lNNA75CykiMECbovNTZqGI=
13431343
golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
13441344
golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
13451345
golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
@@ -1433,8 +1433,8 @@ golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
14331433
golang.org/x/sys v0.17.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
14341434
golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
14351435
golang.org/x/sys v0.29.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
1436-
golang.org/x/sys v0.31.0 h1:ioabZlmFYtWhL+TRYpcnNlLwhyxaM9kWTDEmfnprqik=
1437-
golang.org/x/sys v0.31.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k=
1436+
golang.org/x/sys v0.38.0 h1:3yZWxaJjBmCWXqhN1qh02AkOnCQ1poK6oF+a7xWL6Gc=
1437+
golang.org/x/sys v0.38.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks=
14381438
golang.org/x/telemetry v0.0.0-20240228155512-f48c80bd79b2/go.mod h1:TeRTkGYfJXctD9OcfyVLyj2J3IxLnKwHJR8f4D8a3YE=
14391439
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
14401440
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
@@ -1470,8 +1470,8 @@ golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE=
14701470
golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
14711471
golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
14721472
golang.org/x/text v0.21.0/go.mod h1:4IBbMaMmOPCJ8SecivzSH54+73PCFmPWxNTLm+vZkEQ=
1473-
golang.org/x/text v0.23.0 h1:D71I7dUrlY+VX0gQShAThNGHFxZ13dGLBHQLVl1mJlY=
1474-
golang.org/x/text v0.23.0/go.mod h1:/BLNzu4aZCJ1+kcD0DNRotWKage4q2rGVAg4o22unh4=
1473+
golang.org/x/text v0.31.0 h1:aC8ghyu4JhP8VojJ2lEHBnochRno1sgL6nEi9WGFGMM=
1474+
golang.org/x/text v0.31.0/go.mod h1:tKRAlv61yKIjGGHX/4tP1LTbc13YSec1pxVEWXzfoeM=
14751475
golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
14761476
golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
14771477
golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
@@ -1543,8 +1543,8 @@ golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU=
15431543
golang.org/x/tools v0.7.0/go.mod h1:4pg6aUX35JBAogB10C9AtvVL+qowtN4pT3CGSQex14s=
15441544
golang.org/x/tools v0.13.0/go.mod h1:HvlwmtVNQAhOuCjW7xxvovg8wbNq7LwfXh/k7wXUl58=
15451545
golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d/go.mod h1:aiJjzUbINMkxbQROHiO6hDPo2LHcIPhhQsa9DLh0yGk=
1546-
golang.org/x/tools v0.23.0 h1:SGsXPZ+2l4JsgaCKkx+FQ9YZ5XEtA1GZYuoDjenLjvg=
1547-
golang.org/x/tools v0.23.0/go.mod h1:pnu6ufv6vQkll6szChhK3C3L/ruaIv5eBeztNG8wtsI=
1546+
golang.org/x/tools v0.38.0 h1:Hx2Xv8hISq8Lm16jvBZ2VQf+RLmbd7wVUsALibYI/IQ=
1547+
golang.org/x/tools v0.38.0/go.mod h1:yEsQ/d/YK8cjh0L6rZlY8tgtlKiBNTL14pGDJPJpYQs=
15481548
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
15491549
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
15501550
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=

0 commit comments

Comments
 (0)