mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 02:33:34 +00:00
build: address gocritic
warnings
Signed-off-by: Niels de Vos <ndevos@ibm.com>
This commit is contained in:
committed by
mergify[bot]
parent
4e6675df76
commit
53c94efc02
@ -232,7 +232,7 @@ func (ns *NodeServer) mountNFS(
|
||||
volumeID, source, mountPoint, mountOptions)
|
||||
if netNamespaceFilePath != "" {
|
||||
_, stderr, err = util.ExecuteCommandWithNSEnter(
|
||||
ctx, netNamespaceFilePath, "mount", args[:]...)
|
||||
ctx, netNamespaceFilePath, "mount", args...)
|
||||
} else {
|
||||
err = ns.Mounter.Mount(source, mountPoint, "nfs", mountOptions)
|
||||
}
|
||||
|
Reference in New Issue
Block a user