Add comment

This commit is contained in:
mcrakhman 2023-05-05 18:51:30 +02:00
parent 11b8609a9b
commit 461410a8f8
No known key found for this signature in database
GPG Key ID: DED12CFEF5B8396B

View File

@ -187,6 +187,7 @@ func (s *space) Init(ctx context.Context) (err error) {
res, err := s.BuildTree(ctx, id, BuildTreeOpts{
Listener: listener,
WaitTreeRemoteSync: false,
// space settings document should not have empty data
treeBuilder: objecttree.BuildObjectTree,
})
log.Debug("building settings tree", zap.String("id", id), zap.String("spaceId", s.id))