zotregistry.io/zot@v1.4.4-0.20231124084042-02a8ed785457/pkg/debug/pprof/pprof_disabled.go (about) 1 //go:build !profile 2 // +build !profile 3 4 package pprof 5 6 import ( 7 "github.com/gorilla/mux" 8 9 "zotregistry.io/zot/pkg/api/config" 10 "zotregistry.io/zot/pkg/log" //nolint:goimports 11 ) 12 13 func SetupPprofRoutes(conf *config.Config, router *mux.Router, authFunc mux.MiddlewareFunc, 14 log log.Logger, 15 ) { 16 log.Warn().Msg("skipping enabling pprof extension because given zot binary " + 17 "doesn't include this feature, please build a binary that does so") 18 }