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

fix issue 58 #72

Merged
merged 3 commits into from
Feb 27, 2025
Merged

fix issue 58 #72

merged 3 commits into from
Feb 27, 2025

Conversation

sak0
Copy link
Contributor

@sak0 sak0 commented Feb 26, 2025

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.

  • Config
  • Docs
  • Resolver
  • Performance
  • Monitor and Observability
  • Test and Release

Please check any characteristics that apply to this pull request.

  • Does not have any user-facing changes. This may include API changes, behavior changes, performance improvements, etc.

Signed-off-by: haozhicui <[email protected]>
@sak0 sak0 requested a review from chuntaojun February 26, 2025 03:12
balancer.go Outdated
insRes, err)
}

fmt.Printf("report circuitBreaker [%v-%s] for instance %s/%s:%d "+
Copy link
Member

Choose a reason for hiding this comment

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

这里 fmt.Printf 不合适吧?

Copy link
Contributor Author

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]>
@sak0 sak0 requested a review from chuntaojun February 26, 2025 07:01
balancer.go Outdated
insRes, err := model.NewInstanceResource(&model.ServiceKey{
Namespace: r.namespace,
Service: r.service,
}, caller, "http", instance.GetHost(), instance.GetPort())
Copy link
Member

Choose a reason for hiding this comment

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

这个 protocol 应该是 instance.GetProtocol() ? 如果没有默认应该是 grpc?

Copy link
Contributor Author

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]>
@sak0 sak0 requested a review from chuntaojun February 26, 2025 14:06
@chuntaojun
Copy link
Member

LGTM

@sak0 sak0 merged commit 1538316 into polarismesh:main Feb 27, 2025
5 of 13 checks passed
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