Skip to content

Commit f89da96

Browse files
committed
chore: adjust to thor-plugin changes
1 parent 4ada8f4 commit f89da96

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/NextronSystems/finding-store
33
go 1.24
44

55
require (
6-
github.com/NextronSystems/jsonlog v0.0.0-20250523073520-69e056dcf33d
6+
github.com/NextronSystems/jsonlog v1.0.0-alpha.0.20260217085034-6cb530d8ac82
77
github.com/stretchr/testify v1.10.0
88
)
99

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
github.com/NextronSystems/jsonlog v0.0.0-20250523073520-69e056dcf33d h1:Lo5904HF61rzum1Md+xaQ0LsLMXb6EpzxaSPL/JRr50=
2-
github.com/NextronSystems/jsonlog v0.0.0-20250523073520-69e056dcf33d/go.mod h1:Hk47VW018TX8o/0sxK+EJt16iRE7gB91zGZGiaAjcww=
1+
github.com/NextronSystems/jsonlog v1.0.0-alpha.0.20260217085034-6cb530d8ac82 h1:bzUZ6Ur5bQBjII93FB2oc01An2Sei+HYdOx6MEPfxPk=
2+
github.com/NextronSystems/jsonlog v1.0.0-alpha.0.20260217085034-6cb530d8ac82/go.mod h1:Hk47VW018TX8o/0sxK+EJt16iRE7gB91zGZGiaAjcww=
33
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
44
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
55
github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=

store.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const (
3333
suffixHash = ".hash"
3434
)
3535

36-
func (s *Store) Store(finding *thorlog.Finding, content io.ReadSeeker) error {
36+
func (s *Store) Store(finding *thorlog.Assessment, content io.ReadSeeker) error {
3737
findingId := finding.Meta.GenID
3838
if findingId == "" {
3939
return fmt.Errorf("finding ID is empty, cannot store finding")

0 commit comments

Comments
 (0)