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: Don't add time units to values for existing CIB (bsc#1228817) #1530

Conversation

liangxin1300
Copy link
Collaborator

port from #1506

Commit 7b2cfb2 automatically appends 's' as the default time unit for
timeout and interval. This causes inconsistency in the existing CIB.

This commit renames the variable to reflect that it handles both adding
advised operation values and time units, but only when the input is from
a new CLI command.
Copy link

codecov bot commented Aug 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 69.74%. Comparing base (84fcb72) to head (f3fbdb0).
Report is 6 commits behind head on master.

Additional details and impacted files
Flag Coverage Δ
integration 54.53% <90.90%> (+0.29%) ⬆️
unit 52.42% <90.90%> (-0.05%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
crmsh/cibconfig.py 64.56% <100.00%> (+0.89%) ⬆️
crmsh/parse.py 85.71% <100.00%> (ø)

... and 3 files with indirect coverage changes

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

@liangxin1300 liangxin1300 marked this pull request as ready for review August 28, 2024 08:45
@liangxin1300 liangxin1300 merged commit 9e72303 into ClusterLabs:master Aug 29, 2024
31 checks passed
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