We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 769c69e + c9e482e commit ba6994eCopy full SHA for ba6994e
cmd/loop/main.go
@@ -56,7 +56,7 @@ func main() {
56
app.Usage = "control plane for your loopd"
57
app.Flags = []cli.Flag{
58
cli.StringFlag{
59
- Name: "loopd",
+ Name: "rpcserver",
60
Value: "localhost:11010",
61
Usage: "loopd daemon address host:port",
62
},
@@ -72,8 +72,8 @@ func main() {
72
}
73
74
func getClient(ctx *cli.Context) (looprpc.SwapClientClient, func(), error) {
75
- loopdAddress := ctx.GlobalString("loopd")
76
- conn, err := getClientConn(loopdAddress)
+ rpcServer := ctx.GlobalString("rpcserver")
+ conn, err := getClientConn(rpcServer)
77
if err != nil {
78
return nil, nil, err
79
0 commit comments