From 4532bd96182040c8d8193f289003e54c59cc9280 Mon Sep 17 00:00:00 2001 From: kgrant Date: Tue, 11 Aug 2020 15:56:10 -0700 Subject: [PATCH] clean up log --- internal/datastore/kvstore.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/datastore/kvstore.go b/internal/datastore/kvstore.go index 17153d6..d638fc2 100644 --- a/internal/datastore/kvstore.go +++ b/internal/datastore/kvstore.go @@ -33,11 +33,11 @@ type KVStore struct { func getBadgerOptions(path string, options *KVStoreOptions) badger.Options { opts := badger.DefaultOptions(path) if options.EnableTruncate != nil { - fmt.Printf("Configuring with enableTruncate: %t \n", options.EnableTruncate.Value) + fmt.Printf("Configuring with EnableTruncate: %t \n", options.EnableTruncate.Value) opts = opts.WithTruncate(options.EnableTruncate.Value) } if options.MaxTableSize != nil { - fmt.Printf("Configuring with maxTableSize: %d \n", options.MaxTableSize.Value) + fmt.Printf("Configuring with MaxTableSize: %d \n", options.MaxTableSize.Value) opts = opts.WithMaxTableSize(options.MaxTableSize.Value) } if options.LevelOneSize != nil { @@ -64,7 +64,7 @@ func getBadgerOptions(path string, options *KVStoreOptions) badger.Options { func NewKVStore(path string, options *KVStoreOptions) (*KVStore, error) { garbageCollectionDiscardRatio := 0.5 if options.GarbageCollectionDiscardRatio != nil { - fmt.Printf("Configuring with garbageCollectionDiscardRatio: %f \n", options.GarbageCollectionDiscardRatio.Value) + fmt.Printf("Configuring with GarbageCollectionDiscardRatio: %f \n", options.GarbageCollectionDiscardRatio.Value) garbageCollectionDiscardRatio = float64(options.GarbageCollectionDiscardRatio.Value) }