aboutsummaryrefslogtreecommitdiff
path: root/weed/command/filer_backup.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-08-03 01:30:35 -0700
committerChris Lu <chris.lu@gmail.com>2021-08-03 01:30:35 -0700
commit3afbf04007eb1e6c7d79e652545d24e7a8e7d509 (patch)
tree48c1a90f0128f1f4e2e8a5b21ab681ad1e168bd6 /weed/command/filer_backup.go
parentfe60c6ef9a09f2190926a49aaf3c15ab29bf5812 (diff)
downloadseaweedfs-3afbf04007eb1e6c7d79e652545d24e7a8e7d509.tar.xz
seaweedfs-3afbf04007eb1e6c7d79e652545d24e7a8e7d509.zip
add TLS grpc support for filer meta clients
Diffstat (limited to 'weed/command/filer_backup.go')
-rw-r--r--weed/command/filer_backup.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/command/filer_backup.go b/weed/command/filer_backup.go
index 888b46fe7..fc4dd8298 100644
--- a/weed/command/filer_backup.go
+++ b/weed/command/filer_backup.go
@@ -52,11 +52,11 @@ var cmdFilerBackup = &Command{
func runFilerBackup(cmd *Command, args []string) bool {
- grpcDialOption := security.LoadClientTLS(util.GetViper(), "grpc.client")
-
util.LoadConfiguration("security", false)
util.LoadConfiguration("replication", true)
+ grpcDialOption := security.LoadClientTLS(util.GetViper(), "grpc.client")
+
for {
err := doFilerBackup(grpcDialOption, &filerBackupOptions)
if err != nil {