Skip to content

Commit

Permalink
adding in-toto/archivista back for api
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaosInTheCRD committed Dec 13, 2023
1 parent 7e98cad commit cb8df2c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion archivista/download.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ package archivista
import (
"context"

archivistaapi "github.com/in-toto/archivista/pkg/api"

Check failure on line 20 in archivista/download.go

View workflow job for this annotation

GitHub Actions / sast / witness

no required module provides package github.com/in-toto/archivista/pkg/api; to add it:

Check failure on line 20 in archivista/download.go

View workflow job for this annotation

GitHub Actions / unit-test / witness

no required module provides package github.com/in-toto/archivista/pkg/api; to add it:
"github.com/in-toto/go-witness/dsse"
archivistaapi "github.com/testifysec/archivista-api"
)

func (c *Client) Download(ctx context.Context, gitoid string) (dsse.Envelope, error) {
Expand Down
2 changes: 1 addition & 1 deletion archivista/searchgitoids.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ package archivista
import (
"context"

archivistaapi "github.com/testifysec/archivista-api"
archivistaapi "github.com/in-toto/archivista/pkg/api"
)

type searchGitoidResponse struct {
Expand Down
2 changes: 1 addition & 1 deletion archivista/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ package archivista
import (
"context"

archivistaapi "github.com/in-toto/archivista/pkg/api"
"github.com/in-toto/go-witness/dsse"
archivistaapi "github.com/testifysec/archivista-api"
)

func (c *Client) Store(ctx context.Context, env dsse.Envelope) (string, error) {
Expand Down

0 comments on commit cb8df2c

Please sign in to comment.