mirror of
https://github.com/TECHNOFAB11/zfs-localpv.git
synced 2026-02-02 15:45:13 +01:00
refact(pkg): Removes unused import, variables and functions. (#321)
Signed-off-by: Rahul Grover <rahulgrover99@gmail.com>
This commit is contained in:
parent
0e6a02ea74
commit
a8376796b7
7 changed files with 10 additions and 36 deletions
|
|
@ -382,7 +382,7 @@ func (ns *node) NodeGetVolumeStats(
|
|||
return nil, status.Error(codes.InvalidArgument, "path is not provided")
|
||||
}
|
||||
|
||||
if mount.IsMountPath(path) == false {
|
||||
if !mount.IsMountPath(path) {
|
||||
return nil, status.Error(codes.NotFound, "path is not a mount path")
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue