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: update engine naming regex to allow non digit ending #64

Merged

Conversation

ChanYiLin
Copy link
Contributor

ref: longhorn/longhorn#9267

Before v1.4.x, users might have engine name like "XXXX-e-12avc" or "XXXX-e-abcd1"
We change to use "-0", "-1" starting from v1.4.4, v1.5.2
longhorn/longhorn-manager#2180

The previous regex didn't allow "XXXX-e-12avc" which has non digit ending
We should fix it

ref: longhorn/longhorn 9267

Signed-off-by: Jack Lin <jack.lin@suse.com>
@ChanYiLin ChanYiLin requested review from derekbit and innobead August 21, 2024 10:36
@ChanYiLin ChanYiLin self-assigned this Aug 21, 2024
Copy link

codecov bot commented Aug 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.84%. Comparing base (94447d3) to head (38903c1).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #64      +/-   ##
==========================================
+ Coverage   79.78%   79.84%   +0.06%     
==========================================
  Files          33       33              
  Lines        1583     1583              
==========================================
+ Hits         1263     1264       +1     
+ Misses        204      203       -1     
  Partials      116      116              
Flag Coverage Δ
unittests 79.84% <100.00%> (+0.06%) ⬆️

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

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

@innobead innobead requested a review from PhanLe1010 August 21, 2024 10:46
Copy link
Member

@derekbit derekbit left a comment

Choose a reason for hiding this comment

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

LGTM

@derekbit derekbit merged commit 907f57e into longhorn:main Aug 21, 2024
7 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.

3 participants