Skip to content

controllers: factor out an indexer API#4656

Merged
nicks merged 1 commit into
masterfrom
nicks/indexer
Jun 16, 2021
Merged

controllers: factor out an indexer API#4656
nicks merged 1 commit into
masterfrom
nicks/indexer

Conversation

@nicks

@nicks nicks commented Jun 16, 2021

Copy link
Copy Markdown
Contributor

Hello @milas,

Please review the following commits I made in branch nicks/indexer:

d675d52 (2021-06-15 20:17:55 -0400)
controllers: factor out an indexer API
Now that we're doing dependencies more, I felt bad duplicating this code.

Code review reminders, by giving a LGTM you attest that:

  • Commits are adequately tested
  • Code is easy to understand and conforms to style guides
  • Incomplete code is marked with TODOs
  • Code is suitably instrumented with logging and metrics

@nicks
nicks requested a review from milas June 16, 2021 00:18
@nicks
nicks force-pushed the nicks/indexer branch 2 times, most recently from e2ad793 to b70d9e5 Compare June 16, 2021 00:52
Now that we're doing dependencies more, I felt bad duplicating this code.

@milas milas left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

(I do wish that ctrlclient.Client didn't have weird, deferred initialization so that we could just read the scheme off of it instead of having to pass it around again, but not much we can do about that.)

@nicks
nicks merged commit 693820c into master Jun 16, 2021
@nicks
nicks deleted the nicks/indexer branch June 16, 2021 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants