refactor: Use consistent naming scheme for config keys
This commit is contained in:
@@ -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")
|
||||
|
||||
@@ -91,7 +91,7 @@ func main() {
|
||||
Metadata: metadataPersister,
|
||||
},
|
||||
|
||||
config.CompressionLevelFastest,
|
||||
config.CompressionLevelFastestKey,
|
||||
func() (cache.WriteCache, func() error, error) {
|
||||
return cache.NewCacheWrite(
|
||||
*writeCacheFlag,
|
||||
|
||||
Reference in New Issue
Block a user