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

[YUNIKORN-2100] Merge functionality of node coordinator into context #716

Closed
wants to merge 1 commit into from

Conversation

craigcondit
Copy link
Contributor

What is this PR for?

Merge the node_coordinator.go pod event handler logic into the Context's pod event handlers. Also, rename addPodToCache() / updatePodInCache() / removePodFromCache() to addPod() / updatePod() / deletePod() for consistency.

What type of PR is it?

  • - Bug Fix
  • - Improvement
  • - Feature
  • - Documentation
  • - Hot Fix
  • - Refactoring

Todos

  • - Task

What is the Jira issue?

https://issues.apache.org/jira/browse/YUNIKORN-2100

How should this be tested?

Updated existing tests and added new ones.

Screenshots (if appropriate)

Questions:

  • - The licenses files need update.
  • - There is breaking changes for older versions.
  • - It needs documentation.

Merge the node_coordinator.go pod event handler logic into the Context's pod
event handlers. Also, rename addPodToCache() / updatePodInCache() /
removePodFromCache() to addPod() / updatePod() / deletePod() for consistency.
Copy link

codecov bot commented Nov 1, 2023

Codecov Report

Merging #716 (0c69dc2) into master (67d3933) will increase coverage by 0.34%.
The diff coverage is 97.24%.

@@            Coverage Diff             @@
##           master     #716      +/-   ##
==========================================
+ Coverage   71.64%   71.99%   +0.34%     
==========================================
  Files          50       49       -1     
  Lines        7950     7951       +1     
==========================================
+ Hits         5696     5724      +28     
+ Misses       2056     2031      -25     
+ Partials      198      196       -2     
Files Coverage Δ
pkg/cache/context.go 50.26% <97.24%> (+5.20%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Contributor

@wilfred-s wilfred-s left a comment

Choose a reason for hiding this comment

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

LGTM

@wilfred-s wilfred-s closed this in 36a1be2 Nov 2, 2023
@craigcondit craigcondit deleted the YUNIKORN-2100 branch November 2, 2023 16:47
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