diff options
Diffstat (limited to 'vm/vmimpl/vmimpl.go')
| -rw-r--r-- | vm/vmimpl/vmimpl.go | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/vm/vmimpl/vmimpl.go b/vm/vmimpl/vmimpl.go index a9afdc1f1..0a4ada028 100644 --- a/vm/vmimpl/vmimpl.go +++ b/vm/vmimpl/vmimpl.go @@ -67,11 +67,6 @@ type Infoer interface { Info() ([]byte, error) } -// PprofPortProvider is used when the instance wants to define a custom pprof port. -type PprofPortProvider interface { - PprofPort() int -} - // Env contains global constant parameters for a pool of VMs. type Env struct { // Unique name @@ -191,9 +186,6 @@ func Multiplex(cmd *exec.Cmd, merger *OutputMerger, console io.Closer, timeout t return merger.Output, errc, nil } -// On VMs, pprof will be listening to this port. -const PprofPort = 6060 - func RandomPort() int { n, err := rand.Int(rand.Reader, big.NewInt(64<<10-1<<10)) if err != nil { |
