aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_fs_rm.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/shell/command_fs_rm.go')
-rw-r--r--weed/shell/command_fs_rm.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_fs_rm.go b/weed/shell/command_fs_rm.go
index 0af75f048..2e3f19121 100644
--- a/weed/shell/command_fs_rm.go
+++ b/weed/shell/command_fs_rm.go
@@ -74,7 +74,7 @@ func (c *commandFsRm) Do(args []string, commandEnv *CommandEnv, writer io.Writer
Directory: targetDir,
Name: targetName,
}
- _, err = filer_pb.LookupEntry(client, lookupRequest)
+ _, err = filer_pb.LookupEntry(context.Background(), client, lookupRequest)
if err != nil {
fmt.Fprintf(writer, "rm: %s: %v\n", targetPath, err)
continue