Skip to content

Commit 40a54fb

Browse files
committed
add security/advancedtls to avoid list in linter rule
1 parent d1aefe7 commit 40a54fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/vet.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ git grep 'func (s) ' -- "*_test.go" | not grep -v 'func (s) Test'
5151
git grep 'func [A-Z]' -- "*_test.go" | not grep -v 'func Test\|Benchmark\|Example'
5252

5353
# - Make sure all context usages are done timeout.
54-
git grep -e 'context.Background()' --or -e 'context.TODO()' -- "*_test.go" | grep -v "benchmark/primitives/context_test.go" | grep -v "credentials/google" | grep -v "internal/transport/" | grep -v "xds/internal/" | not grep -v 'context.WithTimeout(' | not grep -v 'context.WithCancel('
54+
git grep -e 'context.Background()' --or -e 'context.TODO()' -- "*_test.go" | grep -v "benchmark/primitives/context_test.go" | grep -v "credentials/google" | grep -v "internal/transport/" | grep -v "xds/internal/" | grep -v "security/advancedtls" | not grep -v 'context.WithTimeout(' | not grep -v 'context.WithCancel('
5555

5656
# - Do not use time.After except in tests. It has the potential to leak the
5757
# timer since there is no way to stop it early.

0 commit comments

Comments
 (0)