summaryrefslogtreecommitdiff
path: root/internal/db/bundb/instance.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/db/bundb/instance.go')
-rw-r--r--internal/db/bundb/instance.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/db/bundb/instance.go b/internal/db/bundb/instance.go
index 6fec3f2fe..567a44ee2 100644
--- a/internal/db/bundb/instance.go
+++ b/internal/db/bundb/instance.go
@@ -173,14 +173,14 @@ func (i *instanceDB) getInstance(ctx context.Context, lookup string, dbQuery fun
}
// Further populate the instance fields where applicable.
- if err := i.populateInstance(ctx, instance); err != nil {
+ if err := i.PopulateInstance(ctx, instance); err != nil {
return nil, err
}
return instance, nil
}
-func (i *instanceDB) populateInstance(ctx context.Context, instance *gtsmodel.Instance) error {
+func (i *instanceDB) PopulateInstance(ctx context.Context, instance *gtsmodel.Instance) error {
var (
err error
errs = gtserror.NewMultiError(2)