Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Dec 9, 2025. It is now read-only.

Conversation

@gauravkghildiyal
Copy link
Member

Previously, the topology string was stored in the CloudInstance struct and parsed every time GetGCEAttributes was called. This reparsing is not required and also resulted in excessive logs for "Error parsing host topology"

aojea
aojea previously requested changes Oct 15, 2025
Copy link
Collaborator

@aojea aojea left a comment

Choose a reason for hiding this comment

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

This looks premature to me, just fix the logging problem , we should only log the real parsing errors , not the ones because the node does not have topology

@aojea
Copy link
Collaborator

aojea commented Oct 16, 2025

just fix the logging problem to not error if is empty and we'll iterate later

This also helps avoid unnecessary logging that happens each time we need to
reconstruct ResourceSlice state and it's cloud provider attributes.
@gauravkghildiyal
Copy link
Member Author

Thanks for the feedback. Incorporated.

@aojea aojea merged commit 5e59d34 into google:main Oct 17, 2025
11 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants