Skip to content

Commit

Permalink
Remove UseAbsolutePaths parameter from JSONArtifactRegistry
Browse files Browse the repository at this point in the history
  • Loading branch information
jwillp committed Aug 28, 2024
1 parent 8880780 commit acdd5f7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion artifactregistry.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ var _ ArtifactRegistry = (*JSONArtifactRegistry)(nil)

// JSONArtifactRegistry implementation of a ArtifactRegistry that is saved as a JSON file.
type JSONArtifactRegistry struct {
UseAbsolutePaths bool `json:"-"`
FileSystem FileSystem `json:"-"`
FilePath string `json:"-"`
CurrentTimeProvider func() time.Time `json:"-"`
Expand Down
1 change: 0 additions & 1 deletion artifactregistry_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ func TestJSONArtifactRegistry_Save(t *testing.T) {
{
name: "Successful Save",
given: &JSONArtifactRegistry{
UseAbsolutePaths: false,
Entries: map[string][]JsonArtifactRegistryEntry{
"processor1": {
{ArtifactID: "file1.txt"},
Expand Down

0 comments on commit acdd5f7

Please sign in to comment.