mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-22 10:08:15 -05:00
Fix getting shared flags for balance info command (#1905)
This commit is contained in:
parent
1b0e046c99
commit
d355e80b18
@ -48,7 +48,7 @@ func executeBalancerInfo(cmd *base.Command, args []string) {
|
||||
defer close()
|
||||
|
||||
client := routerService.NewRoutingServiceClient(conn)
|
||||
r := &routerService.GetBalancerInfoRequest{Tag: args[0]}
|
||||
r := &routerService.GetBalancerInfoRequest{Tag: cmd.Flag.Arg(0)}
|
||||
resp, err := client.GetBalancerInfo(ctx, r)
|
||||
if err != nil {
|
||||
base.Fatalf("failed to get health information: %s", err)
|
||||
|
Loading…
Reference in New Issue
Block a user