diff options
author | Zach Koopmans <zkoopmans@google.com> | 2020-08-24 13:50:56 -0700 |
---|---|---|
committer | Andrei Vagin <avagin@gmail.com> | 2020-09-09 17:53:10 -0700 |
commit | 13d63f13f3b28e35c182c674c904520d7bd577db (patch) | |
tree | 3070919c2348df819d5dd22836714cc90c224505 /pkg/test/dockerutil/profile.go | |
parent | 7eb284eca20b46570c3bd4e9a49113ac5165afbd (diff) |
Remove go profiling flag from dockerutil.
Go profiling was removed from runsc debug in a previous change.
PiperOrigin-RevId: 328203826
Diffstat (limited to 'pkg/test/dockerutil/profile.go')
-rw-r--r-- | pkg/test/dockerutil/profile.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/test/dockerutil/profile.go b/pkg/test/dockerutil/profile.go index f0396ef24..55f9496cd 100644 --- a/pkg/test/dockerutil/profile.go +++ b/pkg/test/dockerutil/profile.go @@ -63,7 +63,7 @@ type Pprof struct { // MakePprofFromFlags makes a Pprof profile from flags. func MakePprofFromFlags(c *Container) *Pprof { - if !(*pprofBlock || *pprofCPU || *pprofGo || *pprofHeap || *pprofMutex) { + if !(*pprofBlock || *pprofCPU || *pprofHeap || *pprofMutex) { return nil } return &Pprof{ |