Skip to content

Commit 245145b

Browse files
committed
Fix import ordering and indentation alignment to pass gofmt checks.
1 parent d331a8d commit 245145b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/smb/smb_common_linux.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ import (
2727
"strings"
2828
"time"
2929

30-
mount "k8s.io/mount-utils"
3130
"k8s.io/klog/v2"
31+
mount "k8s.io/mount-utils"
3232
)
3333

3434
// Returns true if the `options` contains password with a special characters, and so "credentials=" needed.
@@ -214,7 +214,7 @@ func isBindMountReference(stagingPath, mountPoint, mountSource string) bool {
214214
if err == nil {
215215
cleanMountSource = filepath.Clean(cleanMountSource)
216216
if (cleanMountSource == stagingPath || isProperSubdirectory(stagingPath, cleanMountSource)) &&
217-
(cleanMountPoint != stagingPath && isProperSubdirectory(stagingPath, cleanMountPoint)) {
217+
(cleanMountPoint != stagingPath && isProperSubdirectory(stagingPath, cleanMountPoint)) {
218218
klog.V(4).Infof("isBindMountReference: bind mount detected - source %s and target %s both relate to staging path %s",
219219
cleanMountSource, cleanMountPoint, stagingPath)
220220
return true

0 commit comments

Comments
 (0)