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

Cherry-pick PR #415 to release-v1.3 #433

Merged
merged 2 commits into from
May 14, 2024
Merged

Conversation

thunderboltsid
Copy link
Contributor

Cherry-Pick Details

  • Original PR Title: Introduce a nutanix prism client cache
  • Original PR URL: Introduce a nutanix prism client cache #415
  • Original Commit SHA: fac5b21
  • Cherry-Pick Reason: Cherry-picking changes related to client cache to release-v1.3 so when a user upgrades from 1.2.5 to 1.3.4, they don't fall back to new clients each reconcile cycle

The changes also include changes to build files and dependencies that allow us to get builds working in this release train with the new changes.

Copy link

codecov bot commented May 10, 2024

Codecov Report

Attention: Patch coverage is 35.00000% with 39 lines in your changes are missing coverage. Please review.

Project coverage is 16.90%. Comparing base (68a6d8a) to head (4e6a653).

Files Patch % Lines
controllers/nutanixmachine_controller.go 0.00% 18 Missing ⚠️
controllers/helpers.go 50.00% 14 Missing ⚠️
controllers/nutanixcluster_controller.go 25.00% 6 Missing ⚠️
pkg/context/context.go 50.00% 1 Missing ⚠️
Additional details and impacted files
@@               Coverage Diff                @@
##           release-v1.3     #433      +/-   ##
================================================
+ Coverage         16.58%   16.90%   +0.32%     
================================================
  Files                21       22       +1     
  Lines              2129     2118      -11     
================================================
+ Hits                353      358       +5     
+ Misses             1776     1760      -16     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@adiantum adiantum left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@nutanix-cn-prow-bot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: adiantum, thunderboltsid

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [adiantum,thunderboltsid]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

* Introduce a nutanix prism client cache

The cache stores a prismgoclient.V3 client instance for each NutanixCluster instance.
The cache is shared between nutanixcluster and nutanixmachine controllers.

* Address review comments
Changes to fix linting issues and version dependencies to keep the
build passing
@thunderboltsid
Copy link
Contributor Author

/retest

Copy link

✅ None of your dependencies violate policy!

@thunderboltsid thunderboltsid merged commit bd2ccba into release-v1.3 May 14, 2024
11 of 13 checks passed
@thunderboltsid thunderboltsid deleted the jira/krbn-8098 branch May 14, 2024 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants