Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(bolt): nuke crufty bolt db service #16348

Merged
merged 1 commit into from
Dec 30, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
1. [16345](https://github.com/influxdata/influxdb/pull/16345): Add hide headers flag to influx cli task find cmd
1. [16336](https://github.com/influxdata/influxdb/pull/16336): Manual Overrides for Readiness Endpoint
1. [16347](https://github.com/influxdata/influxdb/pull/16347): Drop legacy inmem service implementation in favor of kv service with inmem dependency
1. [16348](https://github.com/influxdata/influxdb/pull/16348): Drop legacy bolt service implementation in favor of kv service with bolt dependency

### Bug Fixes

Expand Down
8 changes: 0 additions & 8 deletions authorizer/source.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import (
"context"

"github.com/influxdata/influxdb"
"github.com/influxdata/influxdb/bolt"
)

var _ influxdb.SourceService = (*SourceService)(nil)
Expand Down Expand Up @@ -97,13 +96,6 @@ func (s *SourceService) FindSources(ctx context.Context, opts influxdb.FindOptio
return nil, 0, err
}

// TODO(desa): this is a totaly hack and needs to be fixed.
// Specifically, we need to remove the concept of a default source.
if src.OrganizationID.String() == bolt.DefaultSourceOrganizationID {
sources = append(sources, src)
continue
}

if influxdb.ErrorCode(err) == influxdb.EUnauthorized {
continue
}
Expand Down
Loading