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 refresh on agent pools #395

Merged
merged 4 commits into from
Aug 26, 2024
Merged

Fix refresh on agent pools #395

merged 4 commits into from
Aug 26, 2024

Conversation

komalali
Copy link
Member

@komalali komalali commented Aug 26, 2024

Fixes an issue where the AgentPool resource would lose the tokenValue property on refresh. Also enables an existing example for agent pools which would have highlighted the bug, but didn't because it wasn't running :/

Fixes #379

@komalali komalali marked this pull request as ready for review August 26, 2024 22:31
@komalali komalali requested review from IaroslavTitov and a team August 26, 2024 22:31
Copy link
Contributor

@IaroslavTitov IaroslavTitov left a comment

Choose a reason for hiding this comment

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

LGTM, one quick question - was there no need to fix agentPoolId? The bug mentions that it's also missing after refresh and update

Also just now saw I also noticed the field description changes to "" after the refresh and back to null after the update.

Or will those be in separate PRs?

@komalali
Copy link
Member Author

The bug mentions that it's also missing after refresh and update

yeah I did specifically check for this and I couldn't repro the missing ID.

I also noticed the field description changes to "" after the refresh and back to null after the update.

Fixed now.

@komalali komalali enabled auto-merge (squash) August 26, 2024 23:06
@komalali komalali merged commit 08a172c into main Aug 26, 2024
13 checks passed
@komalali komalali deleted the komal/fix-agent-pool-refresh branch August 26, 2024 23:11
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.

The AgentPool resource looses the agent_pool_id and token_value after a refresh
2 participants