Skip to content

Commit

Permalink
cephfs: upgrading mount syntax
Browse files Browse the repository at this point in the history
fix go format

Signed-off-by: mageekchiu <[email protected]>
  • Loading branch information
MageekChiu committed Feb 6, 2025
1 parent 60b8dae commit 82be04b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions internal/cephfs/mounter/kernel.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,7 @@ func (m *kernelMounter) mountKernel(

args = append(args, "-o", optionsStr)

var (
stderr string
)
var stderr string

if volOptions.NetNamespaceFilePath != "" {
_, stderr, err = util.ExecuteCommandWithNSEnter(ctx, volOptions.NetNamespaceFilePath, "mount", args[:]...)
Expand Down

0 comments on commit 82be04b

Please sign in to comment.