diff options
author | 2019-04-29 10:51:45 -0700 | |
---|---|---|
committer | 2019-04-29 13:51:45 -0400 | |
commit | 82862b44a3bcbd767bdcae6d1f4ab050037d4969 (patch) | |
tree | 53f1b64cbabe1cbe7239dcd79af42581ca1bb9f6 | |
parent | 39bc2af5092a64f6ac7c9d2ff7ba2bded8f682c8 (diff) | |
download | coredns-82862b44a3bcbd767bdcae6d1f4ab050037d4969.tar.gz coredns-82862b44a3bcbd767bdcae6d1f4ab050037d4969.tar.zst coredns-82862b44a3bcbd767bdcae6d1f4ab050037d4969.zip |
Remove trailing whitespaces (#2806)
While running make notices the following:
```
** presubmit/trailing-whitespace
plugin/grpc/README.md:Multiple upstreams are randomized (see `policy`) on first use. When a proxy returns an error
plugin/pprof/setup_test.go: {`pprof :1234 {
plugin/pprof/setup_test.go: {`pprof {
** presubmit/trailing-whitespace: please remove any trailing white space
```
This fix removes the whitespaces
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
-rw-r--r-- | plugin/grpc/README.md | 2 | ||||
-rw-r--r-- | plugin/pprof/setup_test.go | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/plugin/grpc/README.md b/plugin/grpc/README.md index 178ee73ae..39e05eca7 100644 --- a/plugin/grpc/README.md +++ b/plugin/grpc/README.md @@ -22,7 +22,7 @@ grpc FROM TO... * **TO...** are the destination endpoints to proxy to. The number of upstreams is limited to 15. -Multiple upstreams are randomized (see `policy`) on first use. When a proxy returns an error +Multiple upstreams are randomized (see `policy`) on first use. When a proxy returns an error the next upstream in the list is tried. Extra knobs are available with an expanded syntax: diff --git a/plugin/pprof/setup_test.go b/plugin/pprof/setup_test.go index 276229379..0ad6c2c81 100644 --- a/plugin/pprof/setup_test.go +++ b/plugin/pprof/setup_test.go @@ -23,10 +23,10 @@ func TestPProf(t *testing.T) { }`, true}, {`pprof { block }`, false}, - {`pprof :1234 { + {`pprof :1234 { block 20 }`, false}, - {`pprof { + {`pprof { block 20 30 }`, true}, {`pprof |