VOL-1543 : Fix to properly delete a device from storage
Change-Id: I52d37d947ee6aaf4108fb8252951a123a2829d0c
diff --git a/db/model/revision.go b/db/model/revision.go
index 51f7a1a..2c10137 100644
--- a/db/model/revision.go
+++ b/db/model/revision.go
@@ -20,6 +20,7 @@
SetConfig(revision *DataRevision)
GetConfig() *DataRevision
Drop(txid string, includeConfig bool)
+ StorageDrop(txid string, includeConfig bool)
SetChildren(name string, children []Revision)
GetChildren(name string) []Revision
SetAllChildren(children map[string][]Revision)
@@ -28,6 +29,8 @@
GetHash() string
ClearHash()
SetupWatch(key string)
+ SetName(name string)
+ GetName() string
SetBranch(branch *Branch)
GetBranch() *Branch
Get(int) interface{}