config: make getting config values more consistent

This commit is contained in:
albertony
2024-08-08 13:41:31 +01:00
committed by Nick Craig-Wood
parent e4749cf0d0
commit d6b0743cf4
7 changed files with 164 additions and 176 deletions
+1 -1
View File
@@ -429,7 +429,7 @@ func Run(t *testing.T, opt *Opt) {
// Set extra config if supplied
for _, item := range opt.ExtraConfig {
config.FileSet(item.Name, item.Key, item.Value)
config.FileSetValue(item.Name, item.Key, item.Value)
}
if *fstest.RemoteName != "" {
remoteName = *fstest.RemoteName