commit | 1039ec41bb2ef51f7ca39e321c8eb15fe81bad7c | [log] [tgz] |
---|---|---|
author | Stephane Barbarie <sbarbari@ciena.com> | Mon Feb 04 10:43:16 2019 -0500 |
committer | Stephane Barbarie <sbarbari@ciena.com> | Mon Feb 04 10:43:16 2019 -0500 |
tree | 4674823bcb51f09d7e6e4c198c85e2a0979241fc | |
parent | 21d511581d954bad8193499b9c12c929d6c42cf5 [diff] [blame] |
VOL-1446 : Cleanup of db/model unit tests - Fixed issues with model components while running tests - Removed unecessary tests Change-Id: Ica2007b66f681d03a77144cf2e778aa5a586786a
diff --git a/db/model/branch.go b/db/model/branch.go index 2ad40b4..40c66ad 100644 --- a/db/model/branch.go +++ b/db/model/branch.go
@@ -89,7 +89,7 @@ b.Lock() defer b.Unlock() - if revision, ok := b.Revisions[hash]; !ok { + if revision, ok := b.Revisions[hash]; ok { return revision }