From 82862b44a3bcbd767bdcae6d1f4ab050037d4969 Mon Sep 17 00:00:00 2001 From: Yong Tang Date: Mon, 29 Apr 2019 10:51:45 -0700 Subject: [PATCH] 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 --- plugin/grpc/README.md | 2 +- 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