Skip to content

Commit

Permalink
chore: revert unused refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
davidby-influx committed Dec 20, 2023
1 parent caa2b35 commit a198c97
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions authorization/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func (s *Store) Update(ctx context.Context, fn func(kv.Tx) error) error {
}

func (s *Store) setup() error {
err := s.Update(context.Background(), func(tx kv.Tx) error {
return s.Update(context.Background(), func(tx kv.Tx) error {
if _, err := tx.Bucket(authBucket); err != nil {
return err
}
Expand All @@ -53,7 +53,6 @@ func (s *Store) setup() error {

return nil
})
return err
}

// generateSafeID attempts to create ids for buckets
Expand Down

0 comments on commit a198c97

Please sign in to comment.