-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
server: unexport Server #108010
server: unexport Server #108010
Conversation
8a59e39
to
340374f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 29 of 29 files at r1, all commit messages.
Reviewable status: complete! 1 of 0 LGTMs obtained (waiting on @herkolategan, @knz, @nkodali, @smg260, and @stevendanna)
pkg/server/serverctl/api.go
line 59 at r1 (raw file):
} // serverShutdownInterface is the subset of the APIs on a server
nit: s/serverShutdownInterface/ServerShutdownInterface/
.
pkg/server/serverctl/api.go
line 68 at r1 (raw file):
// ShutdownRequest is used to signal a request to shutdown the server through // stopTrigger. It carries the reason for the shutdown.
nit: stopTrigger
is no longer next to this struct, perhaps do server.stopTrigger
or reword the comment?
We should really only look at top level servers through an interface. Release note: None
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: complete! 1 of 0 LGTMs obtained (waiting on @herkolategan, @nkodali, @smg260, and @stevendanna)
pkg/server/serverctl/api.go
line 59 at r1 (raw file):
Previously, yuzefovich (Yahor Yuzefovich) wrote…
nit:
s/serverShutdownInterface/ServerShutdownInterface/
.
Done.
pkg/server/serverctl/api.go
line 68 at r1 (raw file):
Previously, yuzefovich (Yahor Yuzefovich) wrote…
nit:
stopTrigger
is no longer next to this struct, perhaps doserver.stopTrigger
or reword the comment?
Done.
340374f
to
d9f6b1a
Compare
TFYR! bors r=yuzefovich |
Build succeeded: |
We should really look at top level servers through an interface.
Epic: CRDB-28893