Skip to content

Commit

Permalink
Merge pull request #167 from yanghao605/1.8.0
Browse files Browse the repository at this point in the history
[#119] bug fix, get service ports from env
  • Loading branch information
yanghao605 committed Mar 10, 2024
2 parents 36414fc + 2d4c3bf commit 044a779
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 044a779

Please sign in to comment.