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

Assign the cache client when initializing the nodes manager #612

Merged
merged 1 commit into from
Mar 8, 2025

Conversation

javuto
Copy link
Collaborator

@javuto javuto commented Mar 8, 2025

Follow up change for #609 to assign the cache client when initializing the nodes manager.

@javuto javuto requested a review from Copilot March 8, 2025 23:33

Choose a reason for hiding this comment

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

PR Overview

This PR extends the NodeManager by assigning a cache client during initialization, following the previous changes to improve caching support.

  • Adds a new Cache field to the NodeManager struct.
  • Updates the CreateNodes function to initialize the Cache field along with the DB.

Reviewed Changes

File Description
pkg/nodes/nodes.go Assigns the cache client to NodeManager during initialization

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.

@javuto javuto merged commit ac026e9 into main Mar 8, 2025
52 checks passed
@javuto javuto deleted the nodes-cache-client-2 branch March 8, 2025 23:42
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.

1 participant