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: refine lock related error message #189

Merged
merged 1 commit into from
Sep 5, 2024

Conversation

ChanYiLin
Copy link
Contributor

ref: longhorn/longhorn#8713

use human readable info to replace lock type in the error message to make it clear to users.

@ChanYiLin ChanYiLin self-assigned this Sep 3, 2024
@ChanYiLin ChanYiLin force-pushed the LH8713_refine_lock_err_message branch from 613f6d4 to a01169c Compare September 3, 2024 13:07
Copy link

codecov bot commented Sep 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 7.86%. Comparing base (fe89e48) to head (f5c3c7c).
Report is 1 commits behind head on master.

Additional details and impacted files
@@          Coverage Diff           @@
##           master    #189   +/-   ##
======================================
  Coverage    7.86%   7.86%           
======================================
  Files          23      23           
  Lines        2010    2010           
======================================
  Hits          158     158           
  Misses       1826    1826           
  Partials       26      26           
Flag Coverage Δ
unittests 7.86% <ø> (ø)

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.

lock.go Outdated Show resolved Hide resolved
lock.go Show resolved Hide resolved
ref: longhorn/longhorn 8713

Signed-off-by: Jack Lin <jack.lin@suse.com>
@ChanYiLin ChanYiLin force-pushed the LH8713_refine_lock_err_message branch from 923bd36 to f5c3c7c Compare September 5, 2024 08:24
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 326b984 into longhorn:master Sep 5, 2024
6 of 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.

2 participants