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(halo/app): fix ready command #2225

Merged
merged 1 commit into from
Oct 18, 2024
Merged

fix(halo/app): fix ready command #2225

merged 1 commit into from
Oct 18, 2024

Conversation

chmllr
Copy link
Contributor

@chmllr chmllr commented Oct 18, 2024

Fixes the ready command that is using the wrong URL for readiness check.

issue: none

@@ -16,7 +16,7 @@ type readyConfig struct {

func defaultReadyConfig() readyConfig {
return readyConfig{
MonitoringURL: "http://localhost:26660",
MonitoringURL: "http://localhost:26660/ready",
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'd argue that MonitoringURL should only be the base host and port of the monitoring API to query. The ready command should add the path it wants to query to in that base URL

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Agreed, I had the same first intuition, but then remembered the "remote node" discussion and was not sure anymore. Will make it a non-configurable part of the URL.

@chmllr chmllr merged commit 60e500c into main Oct 18, 2024
18 checks passed
@chmllr chmllr deleted the chmllr/ready-bugfix branch October 18, 2024 17:20
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