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.go16
1 files changed, 8 insertions, 8 deletions
diff --git a/unmaintained/diff_volume_servers/diff_volume_servers.go b/unmaintained/diff_volume_servers/diff_volume_servers.go
index e289fefe8..b4ceeb58c 100644
--- a/unmaintained/diff_volume_servers/diff_volume_servers.go
+++ b/unmaintained/diff_volume_servers/diff_volume_servers.go
@@ -19,8 +19,8 @@ import (
"github.com/seaweedfs/seaweedfs/weed/storage/needle"
"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"
+ "google.golang.org/grpc"
)
var (
@@ -31,18 +31,18 @@ var (
)
/*
- Diff the volume's files across multiple volume servers.
- diff_volume_servers -volumeServers 127.0.0.1:8080,127.0.0.1:8081 -volumeId 5
+Diff the volume's files across multiple volume servers.
+diff_volume_servers -volumeServers 127.0.0.1:8080,127.0.0.1:8081 -volumeId 5
- Example Output:
- reference 127.0.0.1:8081
- fileId volumeServer message
- 5,01617c3f61 127.0.0.1:8080 wrongSize
+Example Output:
+reference 127.0.0.1:8081
+fileId volumeServer message
+5,01617c3f61 127.0.0.1:8080 wrongSize
*/
func main() {
flag.Parse()
util_http.InitGlobalHttpClient()
-
+
util.LoadSecurityConfiguration()
grpcDialOption = security.LoadClientTLS(util.GetViper(), "grpc.client")