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(localStorage): imcomplete volumePath #1241

Merged
merged 1 commit into from
Nov 14, 2023

Conversation

hikariwo
Copy link
Member

What this PR does / why we need it:

fix the imcomplete path of volume.
the statement fmt.Printf("%v\n", path.Join("/dev", "pool", "lv")) outputs the result /dev/pool/lv
the statement fmt.Printf("%v\n", path.Join("dev", "pool", "lv")) outputs the result dev/pool/lv
In here, check the volume mount point using command findmnt need the path like /dev/pool/lv

Special notes for your reviewer:

Does this PR introduce a user-facing change?


Signed-off-by: lancerxiu <1377004871@qq.com>
Copy link
Member

@SSmallMonster SSmallMonster left a comment

Choose a reason for hiding this comment

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

lgtm

@SSmallMonster SSmallMonster merged commit 44c4ba7 into hwameistor:main Nov 14, 2023
3 checks passed
@hikariwo hikariwo deleted the fix-snapshot-restore-path branch November 14, 2023 05:50
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.

None yet

2 participants