aboutsummaryrefslogtreecommitdiff
path: root/weed/command/filer_sync_std.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-05-29 06:45:23 -0700
committerChris Lu <chris.lu@gmail.com>2021-05-29 06:45:27 -0700
commit2d7b4e5bb6dd62e14978ad38d882ad78320b1b4a (patch)
tree1681b02dbdfff18c7ff18cbaa4b816868dde2479 /weed/command/filer_sync_std.go
parentae185b997f80b48ef1155c76e4c1aeca89ab1937 (diff)
downloadseaweedfs-2d7b4e5bb6dd62e14978ad38d882ad78320b1b4a.tar.xz
seaweedfs-2d7b4e5bb6dd62e14978ad38d882ad78320b1b4a.zip
filer.backup: escape colon from path on windows
fix https://github.com/chrislusf/seaweedfs/issues/2084
Diffstat (limited to 'weed/command/filer_sync_std.go')
-rw-r--r--weed/command/filer_sync_std.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/weed/command/filer_sync_std.go b/weed/command/filer_sync_std.go
new file mode 100644
index 000000000..63851eaf8
--- /dev/null
+++ b/weed/command/filer_sync_std.go
@@ -0,0 +1,7 @@
+// +build !windows
+
+package command
+
+func escapeKey(key string) string {
+ return key
+}