shim: Move pprof server to plugin
Makes the pprof server a plugin and also gates by the `shim_tracing` build tag (like otel is). With this change, `net/http` is no longer a dependency in the shim. Signed-off-by: Brian Goff <cpuguy83@gmail.com>
This commit is contained in:
@@ -73,6 +73,8 @@ const (
|
||||
CRIServicePlugin plugin.Type = "io.containerd.cri.v1"
|
||||
// ShimPlugin implements a shim service
|
||||
ShimPlugin plugin.Type = "io.containerd.shim.v1"
|
||||
// HTTPHandler implements an http handler
|
||||
HTTPHandler plugin.Type = "io.containerd.http.v1"
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
Reference in New Issue
Block a user