Skip to content

Commit 94f1c4d

Browse files
committed
gotidy
1 parent 0a3b96a commit 94f1c4d

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

pkg/stanza/fileconsumer/internal/archive/archive_test.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,6 @@ func testArchiveNop(t *testing.T) {
9797
// fingerprints should not be part of archive, as it's nop
9898
for _, fp := range m {
9999
matchedData := a.FindFiles(context.Background(), []*fingerprint.Fingerprint{fp})
100-
require.Nil(t, matchedData[0])
101-
102-
// FindFiles removes the data from persister.
103-
matchedData = a.FindFiles(context.Background(), []*fingerprint.Fingerprint{fp})
104100
require.Nil(t, matchedData[0], "fingerprints shouldn't match for nopArchive")
105101
}
106102
}

pkg/stanza/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ require (
88
github.com/expr-lang/expr v1.17.2
99
github.com/fsnotify/fsnotify v1.9.0
1010
github.com/goccy/go-json v0.10.5
11-
github.com/google/uuid v1.6.0
1211
github.com/jonboulle/clockwork v0.5.0
1312
github.com/jpillora/backoff v1.0.0
1413
github.com/json-iterator/go v1.1.12
@@ -50,6 +49,7 @@ require (
5049
github.com/go-logr/stdr v1.2.2 // indirect
5150
github.com/go-viper/mapstructure/v2 v2.2.1 // indirect
5251
github.com/gogo/protobuf v1.3.2 // indirect
52+
github.com/google/uuid v1.6.0 // indirect
5353
github.com/hashicorp/go-version v1.7.0 // indirect
5454
github.com/knadh/koanf/maps v0.1.2 // indirect
5555
github.com/knadh/koanf/providers/confmap v1.0.0 // indirect

0 commit comments

Comments
 (0)