We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug If /dev/sda is mounted under /mnt/sda
when executing fs.GetFSSpace("/mnt/sda") I got the error wrong df output ...
wrong df output ...
Environment (please complete the following information):
To Reproduce executing fs.GetFSSpace("/mnt/sda")
Expected behavior Expect to return the space size of /dev/sda
Additional context I think && len(output[0]) == 1 should be removed in thie line
&& len(output[0]) == 1
csi-baremetal/pkg/base/linuxutils/fs/fs_helper.go
Line 146 in 89c2f93
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
If /dev/sda is mounted under /mnt/sda
when executing fs.GetFSSpace("/mnt/sda") I got the error
wrong df output ...
Environment (please complete the following information):
To Reproduce
executing fs.GetFSSpace("/mnt/sda")
Expected behavior
Expect to return the space size of /dev/sda
Additional context
I think
&& len(output[0]) == 1
should be removed in thie linecsi-baremetal/pkg/base/linuxutils/fs/fs_helper.go
Line 146 in 89c2f93
The text was updated successfully, but these errors were encountered: