mirror of
https://github.com/project-zot/zot.git
synced 2026-06-16 04:17:55 +08:00
build: increase wait timeout for travis bazel build process
This commit is contained in:
@@ -50,9 +50,9 @@ func (c *Controller) Run() error {
|
||||
os.Exit(1)
|
||||
}
|
||||
|
||||
// Updating the CVE Database
|
||||
if c.Config != nil {
|
||||
ext.EnableExtension(c.Config.Extensions, c.Log, c.Config.Storage.RootDirectory)
|
||||
// Enable extensions if extension config is provided
|
||||
if c.Config != nil && c.Config.Extensions != nil {
|
||||
ext.EnableExtensions(c.Config.Extensions, c.Log, c.Config.Storage.RootDirectory)
|
||||
}
|
||||
|
||||
c.Router = engine
|
||||
|
||||
+1
-1
@@ -88,7 +88,7 @@ func (rh *RouteHandler) SetupRoutes() {
|
||||
}
|
||||
// swagger docs "/swagger/v2/index.html"
|
||||
rh.c.Router.PathPrefix("/swagger/v2/").Methods("GET").Handler(httpSwagger.WrapHandler)
|
||||
// Zot Search Extension Router
|
||||
// Setup Extensions Routes
|
||||
if rh.c.Config != nil && rh.c.Config.Extensions != nil {
|
||||
ext.SetupRoutes(rh.c.Router, rh.c.Config.Storage.RootDirectory, rh.c.ImageStore, rh.c.Log)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user