mirror of
https://github.com/project-zot/zot.git
synced 2026-06-16 20:38:08 +08:00
fix(config): make all extension config consistent (#888)
Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
This commit is contained in:
committed by
GitHub
parent
38b00e3507
commit
763287873e
@@ -72,7 +72,7 @@ func TestTLSWithAuth(t *testing.T) {
|
||||
|
||||
enable := true
|
||||
conf.Extensions = &extConf.ExtensionConfig{
|
||||
Search: &extConf.SearchConfig{Enable: &enable},
|
||||
Search: &extConf.SearchConfig{BaseConfig: extConf.BaseConfig{Enable: &enable}},
|
||||
}
|
||||
|
||||
ctlr := api.NewController(conf)
|
||||
@@ -169,7 +169,7 @@ func TestTLSWithoutAuth(t *testing.T) {
|
||||
|
||||
enable := true
|
||||
conf.Extensions = &extConf.ExtensionConfig{
|
||||
Search: &extConf.SearchConfig{Enable: &enable},
|
||||
Search: &extConf.SearchConfig{BaseConfig: extConf.BaseConfig{Enable: &enable}},
|
||||
}
|
||||
|
||||
ctlr := api.NewController(conf)
|
||||
|
||||
Reference in New Issue
Block a user