Skip to content

Commit f8afff6

Browse files
author
Cody Lee
committed
go fmt
1 parent e3b79da commit f8afff6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ deploy:
1919
branch: master
2020
local-dir: docs
2121
env:
22-
- TEST_PACKAGES='./core ./grpc ./limit ./limit/functions ./limiter ./measurements ./strategy ./strategy/matchers ./metric_registry/datadog ./metric_registry/gometrics ./examples/example_simple_limit'
22+
- TEST_PACKAGES='./core ./grpc ./limit ./limit/functions ./limiter ./measurements ./strategy ./strategy/matchers ./metric_registry/datadog ./metric_registry/gometrics ./examples/example_simple_limit ./examples/example_blocking_limit'
2323
before_script:
2424
- go get golang.org/x/tools/cmd/cover
2525
- go get github.com/mattn/goveralls

examples/example_blocking_limit/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ func main() {
109109
go func(c int) {
110110
for i := 0; i < 5; i++ {
111111
defer wg.Done()
112-
ctx := context.WithValue(context.Background(), testContextKey, c + i)
112+
ctx := context.WithValue(context.Background(), testContextKey, c+i)
113113
guardedResource.poll(ctx)
114114
}
115115
}(counter)

examples/example_simple_limit/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ func main() {
106106
go func(c int) {
107107
for i := 0; i < 5; i++ {
108108
defer wg.Done()
109-
ctx := context.WithValue(context.Background(), testContextKey, c + i)
109+
ctx := context.WithValue(context.Background(), testContextKey, c+i)
110110
guardedResource.poll(ctx)
111111
}
112112
}(counter)

0 commit comments

Comments
 (0)