Skip to content

Commit

Permalink
修复参数/环境变量配置多服务监听失败问题 (#8)
Browse files Browse the repository at this point in the history
* 修复参数/环境变量配置多服务监听失败问题

* 修复参数/环境变量配置多服务监听失败问题
  • Loading branch information
AlkaidChan committed Aug 21, 2023
1 parent 86572b8 commit 09cddcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/cmd/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ func initArgs() error {

apps := []*config.AppConfig{}
for _, app := range strings.Split(appName, ",") {
apps = append(conf.Apps, &config.AppConfig{Name: app})
apps = append(apps, &config.AppConfig{Name: strings.TrimSpace(app)})
}
conf.Apps = apps
return nil
Expand Down

0 comments on commit 09cddcb

Please sign in to comment.