commit | 06c4a74a28b448d56a3efc82a13b9b1d11482134 | [log] [tgz] |
---|---|---|
author | Stephane Barbarie <sbarbari@ciena.com> | Mon Oct 01 11:09:32 2018 -0400 |
committer | Stephane Barbarie <sbarbari@ciena.com> | Mon Oct 01 11:09:32 2018 -0400 |
tree | 7c247c5f5edac6f326ef84fa9c82964febe5a694 | |
parent | 88fbe7f5f05cfb71efb3d0baefba7301bfc8d296 [diff] [blame] |
VOL-1255: Fixed an issue with the proxy implementation - Had to change the model slightly to mimic a polymorphic behaviour Change-Id: I12017cdfedf5c0ed05243245aa2a811556222e0f
diff --git a/db/model/non_persisted_revision.go b/db/model/non_persisted_revision.go index 8b81a48..99166e5 100644 --- a/db/model/non_persisted_revision.go +++ b/db/model/non_persisted_revision.go
@@ -89,7 +89,7 @@ return npr.Config.Data } -func (npr *NonPersistedRevision) GetNode() *Node { +func (npr *NonPersistedRevision) GetNode() *node { return npr.Branch.Node }