aboutsummaryrefslogtreecommitdiff
path: root/unmaintained/diff_volume_servers
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/diff_volume_servers')
-rw-r--r--unmaintained/diff_volume_servers/diff_volume_servers.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/unmaintained/diff_volume_servers/diff_volume_servers.go b/unmaintained/diff_volume_servers/diff_volume_servers.go
index 9433af147..e289fefe8 100644
--- a/unmaintained/diff_volume_servers/diff_volume_servers.go
+++ b/unmaintained/diff_volume_servers/diff_volume_servers.go
@@ -20,6 +20,7 @@ import (
"github.com/seaweedfs/seaweedfs/weed/storage/types"
"github.com/seaweedfs/seaweedfs/weed/util"
"google.golang.org/grpc"
+ util_http "github.com/seaweedfs/seaweedfs/weed/util/http"
)
var (
@@ -40,7 +41,8 @@ var (
*/
func main() {
flag.Parse()
-
+ util_http.InitGlobalHttpClient()
+
util.LoadSecurityConfiguration()
grpcDialOption = security.LoadClientTLS(util.GetViper(), "grpc.client")