diff options
author | 2021-08-26 17:46:24 +0200 | |
---|---|---|
committer | 2021-08-26 17:46:24 +0200 | |
commit | 2eefaa0227798635baac647b1ac3bc68cdd0e98f (patch) | |
tree | 24d1448c817104bccfb8888619e46cfb61de4475 /internal/db/bundb/admin.go | |
parent | fix error with instance not created on startup (#156) (diff) | |
download | gotosocial-2eefaa0227798635baac647b1ac3bc68cdd0e98f.tar.xz |
oops (#157)
Diffstat (limited to 'internal/db/bundb/admin.go')
-rw-r--r-- | internal/db/bundb/admin.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/db/bundb/admin.go b/internal/db/bundb/admin.go index 53b6ae0c2..d43501444 100644 --- a/internal/db/bundb/admin.go +++ b/internal/db/bundb/admin.go @@ -246,6 +246,7 @@ func (a *adminDB) CreateInstanceInstance(ctx context.Context) db.Error { } if exists { a.log.Infof("instance entry already exists") + return nil } iID, err := id.NewRandomULID() |