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

Change -probability flag to type flagx.StringFile #58

Merged
merged 1 commit into from
Nov 26, 2024
Merged

Conversation

nkinkade
Copy link
Contributor

@nkinkade nkinkade commented Nov 26, 2024

This change is rather ugly and requires a little back bending and conversion of float64s to strings and vice versa in order to be able to maintain the check that the value is not <=0.0 or >1.0.

This change will allow plumbing the site probability for VMs through to the register command via our Terraform configs. The value will be written to /var/local/metadata/probability.


This change is Reviewable

This requires a little backbending and conversion of float64s to strings and
vice versa in order to be able to maintain the check that the value is not
<=0.0 or >1.0.

This change will allow plumbing the site probability for VMs through to the
register command via our Terraform configs. The value will be written to
/var/local/metadata/probability.
@coveralls
Copy link
Collaborator

Pull Request Test Coverage Report for Build 12038039131

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 98.92%

Totals Coverage Status
Change from base Build 12036158442: 0.0%
Covered Lines: 1191
Relevant Lines: 1204

💛 - Coveralls

Copy link
Contributor

@stephen-soltesz stephen-soltesz left a comment

Choose a reason for hiding this comment

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

Reviewed 1 of 1 files at r1.
Reviewable status: :shipit: complete! 1 of 1 approvals obtained

@nkinkade nkinkade merged commit dba27d2 into main Nov 26, 2024
8 checks passed
@nkinkade nkinkade deleted the sandbox-kinkade branch November 26, 2024 20:00
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.

3 participants