mirror of
https://github.com/project-zot/zot.git
synced 2024-12-23 22:27:35 -05:00
c0f93caacb
Thanks @jdolitsky et al for kicking off these changes at: https://github.com/oci-playground/zot/commits/main Thanks @sudo-bmitch for reviewing the patch Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
20 lines
521 B
Go
20 lines
521 B
Go
//go:build !debug
|
|
// +build !debug
|
|
|
|
package debug
|
|
|
|
import (
|
|
"github.com/gorilla/mux"
|
|
|
|
"zotregistry.io/zot/pkg/api/config"
|
|
"zotregistry.io/zot/pkg/log"
|
|
"zotregistry.io/zot/pkg/storage"
|
|
)
|
|
|
|
// SetupGQLPlaygroundRoutes ...
|
|
func SetupGQLPlaygroundRoutes(conf *config.Config, router *mux.Router,
|
|
storeController storage.StoreController, log log.Logger,
|
|
) {
|
|
log.Warn().Msg("skipping enabling graphql playground extension because given zot binary " +
|
|
"doesn't include this feature, please build a binary that does so")
|
|
}
|