Skip to content

Commit 0736937

Browse files
committed
update sdk to v0.9.0-rc.0
1 parent ff182e3 commit 0736937

File tree

4 files changed

+13
-6
lines changed

4 files changed

+13
-6
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## v0.2.7 [tbd]
2+
3+
- Recompiled plugin with [tailpipe-plugin-sdk v0.8.0](https://github.com/turbot/tailpipe-plugin-sdk/blob/develop/CHANGELOG.md#v071-2025-06-04)
4+
15
## v0.2.6 [2025-06-04]
26

37
- Recompiled plugin with [tailpipe-plugin-sdk v0.7.1](https://github.com/turbot/tailpipe-plugin-sdk/blob/develop/CHANGELOG.md#v071-2025-06-04) that fixes an issue affecting collections using a file source. ([#36](https://github.com/turbot/tailpipe-plugin-core/pull/36))

go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ module github.com/turbot/tailpipe-plugin-core
22

33
go 1.24
44

5-
replace github.com/turbot/tailpipe-plugin-sdk => ../tailpipe-plugin-sdk
5+
//replace github.com/turbot/tailpipe-plugin-sdk => ../tailpipe-plugin-sdk
66

77
require (
88
github.com/elastic/go-grok v0.3.1
99
github.com/hashicorp/hcl/v2 v2.20.1
1010
github.com/turbot/go-kit v1.3.0
11-
github.com/turbot/pipe-fittings/v2 v2.5.0
12-
github.com/turbot/tailpipe-plugin-sdk v0.7.1
11+
github.com/turbot/pipe-fittings/v2 v2.5.2
12+
github.com/turbot/tailpipe-plugin-sdk v0.9.0-rc.0
1313
)
1414

1515
require (

go.sum

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -703,10 +703,12 @@ github.com/tkrajina/go-reflector v0.5.8 h1:yPADHrwmUbMq4RGEyaOUpz2H90sRsETNVpjzo
703703
github.com/tkrajina/go-reflector v0.5.8/go.mod h1:ECbqLgccecY5kPmPmXg1MrHW585yMcDkVl6IvJe64T4=
704704
github.com/turbot/go-kit v1.3.0 h1:6cIYPAO5hO9fG7Zd5UBC4Ch3+C6AiiyYS0UQnrUlTV0=
705705
github.com/turbot/go-kit v1.3.0/go.mod h1:piKJMYCF8EYmKf+D2B78Csy7kOHGmnQVOWingtLKWWQ=
706-
github.com/turbot/pipe-fittings/v2 v2.5.0 h1:kbATVh3GP7+p1mCboZBXw/sFEdogfNmtjPy0KlheNA0=
707-
github.com/turbot/pipe-fittings/v2 v2.5.0/go.mod h1:szte433cBDCaZcGe5zMVGG7uTl9HMaEYaQmuvzZRYIQ=
706+
github.com/turbot/pipe-fittings/v2 v2.5.2 h1:qrQQEnD6dmMSQFUw8cKw6/Rb1sWolMru0+xXY/BcPU4=
707+
github.com/turbot/pipe-fittings/v2 v2.5.2/go.mod h1:szte433cBDCaZcGe5zMVGG7uTl9HMaEYaQmuvzZRYIQ=
708708
github.com/turbot/pipes-sdk-go v0.12.0 h1:esbbR7bALa5L8n/hqroMPaQSSo3gNM/4X0iTmHa3D6U=
709709
github.com/turbot/pipes-sdk-go v0.12.0/go.mod h1:Mb+KhvqqEdRbz/6TSZc2QWDrMa5BN3E4Xw+gPt2TRkc=
710+
github.com/turbot/tailpipe-plugin-sdk v0.9.0-rc.0 h1:PzhNF/iAWApgwUDBujlrFkOqSVtAjLRUitKehGuvLa8=
711+
github.com/turbot/tailpipe-plugin-sdk v0.9.0-rc.0/go.mod h1:ch/GVDaLoyau6LCUPbx/aYprNi7+DKhmwPDM0M1QJbM=
710712
github.com/turbot/terraform-components v0.0.0-20231213122222-1f3526cab7a7 h1:qDMxFVd8Zo0rIhnEBdCIbR+T6WgjwkxpFZMN8zZmmjg=
711713
github.com/turbot/terraform-components v0.0.0-20231213122222-1f3526cab7a7/go.mod h1:5hzpfalEjfcJWp9yq75/EZoEu2Mzm34eJAPm3HOW2tw=
712714
github.com/ulikunitz/xz v0.5.10 h1:t92gobL9l3HE202wg3rlk19F6X+JOxl9BBrCCMYEYd8=

sources/file/file_source.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package file
22

33
import (
44
"context"
5+
"errors"
56
"fmt"
67
"io/fs"
78
"log/slog"
@@ -90,7 +91,7 @@ func (s *FileSource) DiscoverArtifacts(ctx context.Context) error {
9091
errStr = strings.Join(parts[1:], " ")
9192
}
9293

93-
s.NotifyError(ctx, executionId, fmt.Errorf(errStr))
94+
s.NotifyError(ctx, executionId, errors.New(errStr))
9495
// reset err as handled
9596
err = nil
9697
}

0 commit comments

Comments
 (0)