weed volume: add grpc operation to relicate a volume to local

This commit is contained in:
Chris Lu committed 2019-03-23 11:33:34 -07:00
1 parent a3490b600c
commit 95e0520182
13 files changed
+662 -174

No files matched your search

+1 -1
View File
@@ -71,7 +71,7 @@ func RunShell(options ShellOptions) {
} else {
for _, c := range commands {
if c.Name() == cmd {
if err := c.Do(args, commandEnv, os.Stderr); err != nil {
if err := c.Do(args, commandEnv, os.Stdout); err != nil {
fmt.Fprintf(os.Stderr, "error: %v\n", err)
}
}