From f1d5ca4ff4e8f20f21e2cdc65fe854d6f9c16fee Mon Sep 17 00:00:00 2001 From: Sladyn Date: Sat, 2 Mar 2019 23:58:15 +0530 Subject: Rebased and updated. --- cache/repo_cache.go | 9 --------- 1 file changed, 9 deletions(-) (limited to 'cache/repo_cache.go') diff --git a/cache/repo_cache.go b/cache/repo_cache.go index fd5d0865..2b0fa360 100644 --- a/cache/repo_cache.go +++ b/cache/repo_cache.go @@ -386,15 +386,6 @@ func (c *RepoCache) ResolveBug(id string) (*BugCache, error) { return cached, nil } -// ResolveBugExcerpt retrieve a BugExcerpt matching the exact given id -func (c *RepoCache) ResolveBugExcerpt(id string) (*BugExcerpt, error) { - e, ok := c.excerpts[id] - if !ok { - return nil, bug.ErrBugNotExist - } - - return e, nil -} // ResolveBugExcerpt retrieve a BugExcerpt matching the exact given id func (c *RepoCache) ResolveBugExcerpt(id string) (*BugExcerpt, error) { -- cgit