mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 08:14:18 -04:00
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>
This commit is contained in:
@@ -22,7 +22,7 @@ grpc FROM TO...
|
|||||||
* **TO...** are the destination endpoints to proxy to. The number of upstreams is
|
* **TO...** are the destination endpoints to proxy to. The number of upstreams is
|
||||||
limited to 15.
|
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.
|
the next upstream in the list is tried.
|
||||||
|
|
||||||
Extra knobs are available with an expanded syntax:
|
Extra knobs are available with an expanded syntax:
|
||||||
|
|||||||
@@ -23,10 +23,10 @@ func TestPProf(t *testing.T) {
|
|||||||
}`, true},
|
}`, true},
|
||||||
{`pprof { block
|
{`pprof { block
|
||||||
}`, false},
|
}`, false},
|
||||||
{`pprof :1234 {
|
{`pprof :1234 {
|
||||||
block 20
|
block 20
|
||||||
}`, false},
|
}`, false},
|
||||||
{`pprof {
|
{`pprof {
|
||||||
block 20 30
|
block 20 30
|
||||||
}`, true},
|
}`, true},
|
||||||
{`pprof
|
{`pprof
|
||||||
|
|||||||
Reference in New Issue
Block a user