aboutsummaryrefslogtreecommitdiffstats
path: root/graphql/resolvers/query.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-09-02 15:45:14 +0200
committerMichael Muré <batolettre@gmail.com>2018-09-02 15:45:14 +0200
commit90a45b4c0979dd744aa5a28c84ececf243f027d2 (patch)
treebc2bea4bd1452b00685a7ad967027f78e626eba7 /graphql/resolvers/query.go
parent6ff02ed84254275f2d19569a1a5f14efc1d47f31 (diff)
downloadgit-bug-90a45b4c0979dd744aa5a28c84ececf243f027d2.tar.gz
cache: rename RootCache into MultiRepoCache
Underline the fact that it's fine to use RepoCache alone
Diffstat (limited to 'graphql/resolvers/query.go')
-rw-r--r--graphql/resolvers/query.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphql/resolvers/query.go b/graphql/resolvers/query.go
index 0e7f3a6f..b5763b72 100644
--- a/graphql/resolvers/query.go
+++ b/graphql/resolvers/query.go
@@ -8,7 +8,7 @@ import (
)
type rootQueryResolver struct {
- cache *cache.RootCache
+ cache *cache.MultiRepoCache
}
func (r rootQueryResolver) DefaultRepository(ctx context.Context) (*models.Repository, error) {