aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_remote_mount.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-08-08 01:21:42 -0700
committerChris Lu <chris.lu@gmail.com>2021-08-08 01:21:42 -0700
commit13e45e16054d16e8d8161a8ddb02fde3cd4cde8f (patch)
tree29d7b15932e10b0adafe2b27b3618e330805f75c /weed/shell/command_remote_mount.go
parent8f5170c1389f2d0bac75ca2f95a676a05283317b (diff)
downloadseaweedfs-13e45e16054d16e8d8161a8ddb02fde3cd4cde8f.tar.xz
seaweedfs-13e45e16054d16e8d8161a8ddb02fde3cd4cde8f.zip
filer.remote.sync can work now
Diffstat (limited to 'weed/shell/command_remote_mount.go')
-rw-r--r--weed/shell/command_remote_mount.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/weed/shell/command_remote_mount.go b/weed/shell/command_remote_mount.go
index 73a5119d5..37b235a55 100644
--- a/weed/shell/command_remote_mount.go
+++ b/weed/shell/command_remote_mount.go
@@ -88,7 +88,10 @@ func (c *commandRemoteMount) listExistingRemoteStorageMounts(commandEnv *Command
Indent: " ",
}
- return m.Marshal(writer, mappings)
+ err = m.Marshal(writer, mappings)
+ fmt.Fprintln(writer)
+
+ return
}