Skip to content

Commit 59cd818

Browse files
committed
Ignore gosec finding
context is not being used anyway
1 parent f8fb2b1 commit 59cd818

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ingress_client_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ func buildIngressClient(serverAddr string, flushInterval time.Duration, addConte
490490
panic(err)
491491
}
492492

493-
ctx, cancel := context.WithCancel(context.Background())
493+
ctx, cancel := context.WithCancel(context.Background()) // nolint:gosec
494494

495495
opts := []loggregator.IngressOption{
496496
loggregator.WithAddr(serverAddr),

0 commit comments

Comments
 (0)