Skip to content

Commit

Permalink
bug fix, get service ports from env
Browse files Browse the repository at this point in the history
  • Loading branch information
yanghao605 committed Mar 10, 2024
1 parent 427fe96 commit 2d4c3bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proxy/cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func parseConfigFromCmd(args []string) (err error) {
},
cli.StringFlag{
Name: "service-ports",
EnvVar: common.EnvServicePorts,
EnvVar: os.Getenv(common.EnvServicePorts),
Usage: "service protocol and port,examples: --service-ports=http:3000,grpc:8000",
Destination: &Configs.LocalServicePorts,
},
Expand Down

0 comments on commit 2d4c3bf

Please sign in to comment.