summaryrefslogtreecommitdiffstats
path: root/store/sql_file_info_store.go
diff options
context:
space:
mode:
Diffstat (limited to 'store/sql_file_info_store.go')
-rw-r--r--store/sql_file_info_store.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/store/sql_file_info_store.go b/store/sql_file_info_store.go
index bd0362db0..3fe62121c 100644
--- a/store/sql_file_info_store.go
+++ b/store/sql_file_info_store.go
@@ -12,7 +12,7 @@ import (
)
type SqlFileInfoStore struct {
- *SqlStore
+ SqlStore
}
const (
@@ -26,7 +26,7 @@ func ClearFileCaches() {
fileInfoCache.Purge()
}
-func NewSqlFileInfoStore(sqlStore *SqlStore) FileInfoStore {
+func NewSqlFileInfoStore(sqlStore SqlStore) FileInfoStore {
s := &SqlFileInfoStore{sqlStore}
for _, db := range sqlStore.GetAllConns() {