Skip to content

Commit 044a779

Browse files
authored
Merge pull request #167 from yanghao605/1.8.0
[#119] bug fix, get service ports from env
2 parents 36414fc + 2d4c3bf commit 044a779

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

proxy/cmd/cmd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ func parseConfigFromCmd(args []string) (err error) {
6161
},
6262
cli.StringFlag{
6363
Name: "service-ports",
64-
EnvVar: common.EnvServicePorts,
64+
EnvVar: os.Getenv(common.EnvServicePorts),
6565
Usage: "service protocol and port,examples: --service-ports=http:3000,grpc:8000",
6666
Destination: &Configs.LocalServicePorts,
6767
},

0 commit comments

Comments
 (0)