diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-08-03 01:30:35 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-08-03 01:30:35 -0700 |
| commit | 3afbf04007eb1e6c7d79e652545d24e7a8e7d509 (patch) | |
| tree | 48c1a90f0128f1f4e2e8a5b21ab681ad1e168bd6 /weed/command/filer_sync.go | |
| parent | fe60c6ef9a09f2190926a49aaf3c15ab29bf5812 (diff) | |
| download | seaweedfs-3afbf04007eb1e6c7d79e652545d24e7a8e7d509.tar.xz seaweedfs-3afbf04007eb1e6c7d79e652545d24e7a8e7d509.zip | |
add TLS grpc support for filer meta clients
Diffstat (limited to 'weed/command/filer_sync.go')
| -rw-r--r-- | weed/command/filer_sync.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/command/filer_sync.go b/weed/command/filer_sync.go index 211c34aea..7cfc8a7fe 100644 --- a/weed/command/filer_sync.go +++ b/weed/command/filer_sync.go @@ -89,6 +89,7 @@ var cmdFilerSynchronize = &Command{ func runFilerSynchronize(cmd *Command, args []string) bool { + util.LoadConfiguration("security", false) grpcDialOption := security.LoadClientTLS(util.GetViper(), "grpc.client") grace.SetupProfiling(*syncCpuProfile, *syncMemProfile) |
