-
Notifications
You must be signed in to change notification settings - Fork 27
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
config: fix url config #43
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
namespace: "" | ||
frontend: | ||
security: | ||
backend: | ||
instances: | ||
- "127.0.0.1:4000" | ||
selector_type: "random" | ||
security: |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,12 @@ | ||
workdir: "./work" | ||
listen-urls: | ||
- "0.0.0.0:2379" | ||
- "http://0.0.0.0:3080" | ||
advertise-urls: | ||
- "http://127.0.0.1:3080" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why some of them are There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
listen-peer-urls: | ||
- "http://0.0.0.0:3081" | ||
advertise-peer-urls: | ||
- "http://127.0.0.1:3081" | ||
config: | ||
ignore_wrong_namespace: true | ||
proxy: | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,7 +47,6 @@ func RunRootCommand(rootCmd *cobra.Command) { | |
|
||
// wait for quit signals | ||
<-sc | ||
|
||
cancel() | ||
}() | ||
|
||
|
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.
Since
Run
(the listener) is blocking, we must run it in a separate go routine.