Skip to content

Commit c7c6748

Browse files
committed
chore: Add missing err assertion in test
1 parent 1e3c6dd commit c7c6748

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎clients/pkg/promtail/targets/file/filetargetmanager_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -611,6 +611,7 @@ func TestFulfillKubePodSelector(t *testing.T) {
611611
defer client.Stop()
612612

613613
ftm, err := newTestFileTargetManager(logger, client, ps, logDirName+"/*")
614+
assert.NoError(t, err)
614615

615616
host := "test-host"
616617

0 commit comments

Comments
 (0)