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

common/config: move internal UNIX socket path option to config file #5427

Merged
merged 1 commit into from
Nov 7, 2023

Conversation

ptrus
Copy link
Member

@ptrus ptrus commented Nov 7, 2023

TODO: backport

@ptrus ptrus force-pushed the ptrus/feature/socket-config-option branch from a3a2f79 to 2a58ad1 Compare November 7, 2023 11:22
@ptrus ptrus marked this pull request as ready for review November 7, 2023 11:23
@ptrus ptrus enabled auto-merge November 7, 2023 11:56
@ptrus ptrus mentioned this pull request Nov 7, 2023
@@ -75,15 +68,10 @@ func NewServerLocal(installWrapper bool) (*cmnGrpc.Server, error) {
if dataDir == "" {
Copy link
Contributor

Choose a reason for hiding this comment

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

Can this also be removed?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah I'll look into removing this in a follow up as this was already merged. I don't see a reason why the datadir was required here specifically - even before the change in this PR.

Copy link
Contributor

Choose a reason for hiding this comment

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

I don't see a reason why the datadir was required here specifically - even before the change in this PR.

To construct the path, I guess.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah but this didn't change with the PR. It still uses the same data dir config value to construct it (unless overriden).

@ptrus ptrus merged commit 12e86f1 into master Nov 7, 2023
1 check passed
@ptrus ptrus deleted the ptrus/feature/socket-config-option branch November 7, 2023 12:21
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.

3 participants