10M.jpg | 补丁 | 查看 | 原始文档 | blame | 历史 | |
command/query.go | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
10M.jpgBinary files differ
command/query.go
@@ -6,8 +6,6 @@ "strings" "time" "io/ioutil" "github.com/hashicorp/serf/client" "github.com/hashicorp/serf/cmd/serf/command/agent" "github.com/mitchellh/cli" @@ -106,18 +104,6 @@ if len(args) == 2 { payload = []byte(args[1]) } //file to []byte buf, err := ioutil.ReadFile("10M.jpg") if err != nil { c.Ui.Error(fmt.Sprintf("Error: %s", err)) return 1 } _ = buf //payload = buf fmt.Println("len(payload): ", len(payload)) cl, err := RPCClient(*rpcAddr, *rpcAuth) if err != nil {