Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

add instance health check endpoint #112

Merged
merged 2 commits into from
Oct 6, 2022
Merged

add instance health check endpoint #112

merged 2 commits into from
Oct 6, 2022

Conversation

rdubrock
Copy link
Contributor

@rdubrock rdubrock commented Oct 6, 2022

Adds a function to make use of the health api

Copy link
Contributor

@inkel inkel left a comment

Choose a reason for hiding this comment

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

Thanks for the contribution! I've left a question about it.

health.go Outdated
Comment on lines 4 to 5
Code string `json:"code,omitempty"`
Message string `json:"message,omitempty"`
Copy link
Contributor

Choose a reason for hiding this comment

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

Where are these two values coming from? They're not part of the API documentation and when I hit that endpoint locally I don't see those either.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yup good call, that's the structure of the error response and I forgot to remove them.

@inkel inkel merged commit 8d9d243 into master Oct 6, 2022
@inkel inkel deleted the add-health-check branch October 6, 2022 21:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants