mirror of
https://github.com/coredns/coredns.git
synced 2025-12-18 16:15:18 -05:00
Pprof listen (#639)
* add listen addr option * Add listen address option to pprof * There is configuration * code styling
This commit is contained in:
committed by
John Belamaric
parent
4c9351b0a3
commit
f359aea2fa
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user