aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_mount_configure.go
diff options
context:
space:
mode:
authorRyan Russell <ryanrussell@users.noreply.github.com>2022-09-14 11:14:44 -0500
committerGitHub <noreply@github.com>2022-09-14 09:14:44 -0700
commit19652c1b83d3b26355a820988fce977c99173c60 (patch)
tree3e00a6862d94a68924ded0792fabb2b69faf1068 /weed/shell/command_mount_configure.go
parentb6a1b84a00186c3e1b30bc3f2717fc7005daca62 (diff)
downloadseaweedfs-19652c1b83d3b26355a820988fce977c99173c60.tar.xz
seaweedfs-19652c1b83d3b26355a820988fce977c99173c60.zip
refactor(socket mount): Update socket mount pattern to `/tmp/seaweedf… (#3662)
Diffstat (limited to 'weed/shell/command_mount_configure.go')
-rw-r--r--weed/shell/command_mount_configure.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_mount_configure.go b/weed/shell/command_mount_configure.go
index ea9202c17..941b7c797 100644
--- a/weed/shell/command_mount_configure.go
+++ b/weed/shell/command_mount_configure.go
@@ -47,7 +47,7 @@ func (c *commandMountConfigure) Do(args []string, commandEnv *CommandEnv, writer
if mountDirHash < 0 {
mountDirHash = -mountDirHash
}
- localSocket := fmt.Sprintf("/tmp/seaweefs-mount-%d.sock", mountDirHash)
+ localSocket := fmt.Sprintf("/tmp/seaweedfs-mount-%d.sock", mountDirHash)
clientConn, err := grpc.Dial("passthrough:///unix://"+localSocket, grpc.WithTransportCredentials(insecure.NewCredentials()))
if err != nil {