rename dummy*.go files to kvstore*.go

This commit is contained in:
zramsay
2018-02-19 20:40:33 +00:00
parent a3362ccf35
commit 594db86069
4 changed files with 3 additions and 3 deletions
+3 -3
View File
@@ -682,10 +682,10 @@ func cmdKVStore(cmd *cobra.Command, args []string) error {
// Create the application - in memory or persisted to disk
var app types.Application
if flagPersist == "" {
app = kvstore.NewDummyApplication()
app = kvstore.NewKVStoreApplication()
} else {
app = kvstore.NewPersistentDummyApplication(flagPersist)
app.(*kvstore.PersistentDummyApplication).SetLogger(logger.With("module", "kvstore"))
app = kvstore.NewPersistentKVStoreApplication(flagPersist)
app.(*kvstore.PersistentKVStoreApplication).SetLogger(logger.With("module", "kvstore"))
}
// Start the listener