mirror of
https://github.com/project-zot/zot.git
synced 2026-06-16 04:17:55 +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
@@ -51,8 +51,8 @@ func TestScrubExtension(t *testing.T) {
|
||||
conf.Log.Output = logFile.Name()
|
||||
trueValue := true
|
||||
scrubConfig := &extconf.ScrubConfig{
|
||||
Enable: &trueValue,
|
||||
Interval: 2,
|
||||
BaseConfig: extconf.BaseConfig{Enable: &trueValue},
|
||||
Interval: 2,
|
||||
}
|
||||
conf.Extensions = &extconf.ExtensionConfig{
|
||||
Scrub: scrubConfig,
|
||||
@@ -111,8 +111,8 @@ func TestScrubExtension(t *testing.T) {
|
||||
conf.Log.Output = logFile.Name()
|
||||
trueValue := true
|
||||
scrubConfig := &extconf.ScrubConfig{
|
||||
Enable: &trueValue,
|
||||
Interval: 2,
|
||||
BaseConfig: extconf.BaseConfig{Enable: &trueValue},
|
||||
Interval: 2,
|
||||
}
|
||||
conf.Extensions = &extconf.ExtensionConfig{
|
||||
Scrub: scrubConfig,
|
||||
@@ -178,8 +178,8 @@ func TestScrubExtension(t *testing.T) {
|
||||
conf.Log.Output = logFile.Name()
|
||||
trueValue := true
|
||||
scrubConfig := &extconf.ScrubConfig{
|
||||
Enable: &trueValue,
|
||||
Interval: 2,
|
||||
BaseConfig: extconf.BaseConfig{Enable: &trueValue},
|
||||
Interval: 2,
|
||||
}
|
||||
conf.Extensions = &extconf.ExtensionConfig{
|
||||
Scrub: scrubConfig,
|
||||
|
||||
Reference in New Issue
Block a user