diff options
author | 2017-04-24 10:27:26 -0400 | |
---|---|---|
committer | 2017-04-24 10:27:26 -0400 | |
commit | f359aea2faa5004b385d91a6c8668d6ba6f4cdc2 (patch) | |
tree | 488c8ec83d4511023f197c91668b2dd8ce23cf29 /middleware/pprof/setup_test.go | |
parent | 4c9351b0a3fa1e1d6d1bc1870a37189c05d7f17f (diff) | |
download | coredns-f359aea2faa5004b385d91a6c8668d6ba6f4cdc2.tar.gz coredns-f359aea2faa5004b385d91a6c8668d6ba6f4cdc2.tar.zst coredns-f359aea2faa5004b385d91a6c8668d6ba6f4cdc2.zip |
Pprof listen (#639)
* add listen addr option
* Add listen address option to pprof
* There is configuration
* code styling
Diffstat (limited to '')
-rw-r--r-- | middleware/pprof/setup_test.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/middleware/pprof/setup_test.go b/middleware/pprof/setup_test.go index af46fd415..eaa4cb37e 100644 --- a/middleware/pprof/setup_test.go +++ b/middleware/pprof/setup_test.go @@ -12,6 +12,8 @@ func TestPProf(t *testing.T) { shouldErr bool }{ {`pprof`, false}, + {`pprof 1.2.3.4:1234`, false}, + {`pprof :1234`, false}, {`pprof {}`, true}, {`pprof /foo`, true}, {`pprof { |