diff options
| author | Aleksey Kosov <rusyak777@list.ru> | 2025-05-22 19:46:49 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-22 09:46:49 -0700 |
| commit | 165af32d6b738daa14b84fb6e3c8891f4b46135b (patch) | |
| tree | 7e6128d2fda753abc031c6461ae9709b284afcdf /weed/command/mount_std.go | |
| parent | 5182d46e22d2458b16f1f2fb0358f6b5f3e18b5d (diff) | |
| download | seaweedfs-165af32d6b738daa14b84fb6e3c8891f4b46135b.tar.xz seaweedfs-165af32d6b738daa14b84fb6e3c8891f4b46135b.zip | |
added context to filer_client method calls (#6808)
Co-authored-by: akosov <a.kosov@kryptonite.ru>
Diffstat (limited to 'weed/command/mount_std.go')
| -rw-r--r-- | weed/command/mount_std.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/mount_std.go b/weed/command/mount_std.go index f00daba8a..631091e80 100644 --- a/weed/command/mount_std.go +++ b/weed/command/mount_std.go @@ -255,7 +255,7 @@ func RunMount(option *MountOptions, umask os.FileMode) bool { // create mount root mountRootPath := util.FullPath(mountRoot) mountRootParent, mountDir := mountRootPath.DirAndName() - if err = filer_pb.Mkdir(seaweedFileSystem, mountRootParent, mountDir, nil); err != nil { + if err = filer_pb.Mkdir(context.Background(), seaweedFileSystem, mountRootParent, mountDir, nil); err != nil { fmt.Printf("failed to create dir %s on filer %s: %v\n", mountRoot, filerAddresses, err) return false } |
