refactor: Use consistent naming scheme for config keys

This commit is contained in:
Felicitas Pojtinger
2022-01-08 23:42:32 +01:00
parent 46eef49429
commit f3657dc189
7 changed files with 28 additions and 28 deletions

View File

@@ -214,10 +214,10 @@ func main() {
encryptionPassword := "testEncryptionPassword"
compression := config.CompressionFormatZStandardKey
compressionLevel := config.CompressionLevelFastest
compressionLevel := config.CompressionLevelFastestKey
writeCacheDir := filepath.Join(tmp, "write-cache")
writeCache := config.WriteCacheTypeFile
writeCacheDir := filepath.Join(tmp, "write-cache")
fileSystemCache := config.FileSystemCacheTypeDir
fileSystemCacheDir := filepath.Join(tmp, "filesystem-cache")

View File

@@ -91,7 +91,7 @@ func main() {
Metadata: metadataPersister,
},
config.CompressionLevelFastest,
config.CompressionLevelFastestKey,
func() (cache.WriteCache, func() error, error) {
return cache.NewCacheWrite(
*writeCacheFlag,