fix: go fmt to satisfy go linter
parent
9163edb187
commit
d20440a09f
|
@ -274,10 +274,10 @@ LOOP:
|
|||
|
||||
if err := e.StatementNormalizer.NormalizeStatement(ctx, stmt, defaultDB, opt.RetentionPolicy, ectx); err != nil {
|
||||
if err := ectx.Send(ctx, &Result{Err: err}); err != nil {
|
||||
return
|
||||
}
|
||||
break
|
||||
return
|
||||
}
|
||||
break
|
||||
}
|
||||
|
||||
statistics.StatementCount += 1
|
||||
|
||||
|
|
|
@ -44,7 +44,7 @@ func (s *OnboardService) IsOnboarding(ctx context.Context) (bool, error) {
|
|||
if s.alwaysAllow {
|
||||
return true, nil
|
||||
}
|
||||
|
||||
|
||||
allowed := false
|
||||
err := s.service.store.View(ctx, func(tx kv.Tx) error {
|
||||
// we are allowed to onboard a user if we have no users or orgs
|
||||
|
|
Loading…
Reference in New Issue