mirror of
https://github.com/project-zot/zot.git
synced 2026-06-17 04:48:26 +08:00
Add an 'enable' flag in the server configuration to enable gql-based searches
"extensions": {
"search": {
"enable": true
}
}
This commit is contained in:
committed by
Ramkumar Chinchani
parent
c1dd7878e4
commit
792e82cbdf
@@ -308,7 +308,8 @@ func TestServerCVEResponse(t *testing.T) {
|
||||
UpdateInterval: 2,
|
||||
}
|
||||
searchConfig := &ext.SearchConfig{
|
||||
CVE: cveConfig,
|
||||
CVE: cveConfig,
|
||||
Enable: true,
|
||||
}
|
||||
c.Config.Extensions = &ext.ExtensionConfig{
|
||||
Search: searchConfig,
|
||||
|
||||
Reference in New Issue
Block a user