-
Notifications
You must be signed in to change notification settings - Fork 21
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
fix issue 58 #72
fix issue 58 #72
Conversation
Signed-off-by: haozhicui <[email protected]>
balancer.go
Outdated
insRes, err) | ||
} | ||
|
||
fmt.Printf("report circuitBreaker [%v-%s] for instance %s/%s:%d "+ |
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.
这里 fmt.Printf 不合适吧?
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.
这里 fmt.Printf 不合适吧?
已修改
Signed-off-by: haozhicui <[email protected]>
balancer.go
Outdated
insRes, err := model.NewInstanceResource(&model.ServiceKey{ | ||
Namespace: r.namespace, | ||
Service: r.service, | ||
}, caller, "http", instance.GetHost(), instance.GetPort()) |
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.
这个 protocol 应该是 instance.GetProtocol() ? 如果没有默认应该是 grpc?
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.
这个 protocol 应该是 instance.GetProtocol() ? 如果没有默认应该是 grpc?
已修复
Signed-off-by: haozhicui <[email protected]>
LGTM |
Please provide issue(s) of this PR:
Fixes #58
To help us figure out who should review this PR, please put an X in all the areas that this PR affects.
Please check any characteristics that apply to this pull request.