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

Improved how we obtain the current image attribute for the GCP service #18

Merged
merged 1 commit into from
Oct 26, 2023

Conversation

mrostan
Copy link
Contributor

@mrostan mrostan commented Oct 26, 2023

Moved the code that retrieves the image for the current service from service startup to the health endpoint, that gives us a little bit more of time for permissions to be applied on the initial startup.

Also, with the previous approach if we weren't able to retrieve the image when the service started we were not requesting it again and not returning it until a new instance is used.
Now we're requesting it every time the health endpoint is invoked.

@mrostan mrostan marked this pull request as ready for review October 26, 2023 15:45
@mrostan mrostan requested a review from a team as a code owner October 26, 2023 15:45
@mrostan mrostan merged commit dc984e6 into main Oct 26, 2023
2 checks passed
@mrostan mrostan deleted the mrostan/improve-image-attribute-retrieval branch October 26, 2023 16:31
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