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 cpu_total_compute override #2745

Merged
merged 4 commits into from
Jul 3, 2017
Merged

Fix cpu_total_compute override #2745

merged 4 commits into from
Jul 3, 2017

Conversation

schmichael
Copy link
Member

@schmichael schmichael commented Jun 27, 2017

Fixes #2638

  • Refactor some CPU fingerprinting code to make it more robust.
  • Add a test for the total compute override
  • Document the total compute attribute

@schmichael schmichael requested a review from dadgar June 27, 2017 19:01
setResources(int(tt))
node.Resources.CPU = tt
} else {
f.logger.Printf("[INFO] fingerprint.cpu: cannot detect cpu total compute. "+
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't this be an error? Nothing will be allocatable on the node otherwise?

@schmichael schmichael merged commit da14944 into master Jul 3, 2017
@schmichael schmichael deleted the b-2638-cpu_total_compute branch July 3, 2017 22:13
schmichael added a commit that referenced this pull request Jul 3, 2017
@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 31, 2023
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.

None yet

2 participants