fix: yaml tag

This commit is contained in:
2022-01-11 00:03:14 +08:00
parent 7f8bb65be3
commit 0540fcd17f
7 changed files with 20 additions and 20 deletions
+2 -2
View File
@@ -32,11 +32,11 @@ func GenDeploy(api config.Api) error {
path := api.Path
if path == "" {
path = fmt.Sprintf("/%s/%s/?(.*)", api.NameSpace, api.Name)
path = fmt.Sprintf("/%s/%s/?(.*)", api.Namespace, api.Name)
}
data := map[string]string{
"NameSpace": api.NameSpace,
"NameSpace": api.Namespace,
"AppName": api.Name,
"AliasName": api.AliasName,
"Port": api.Port,
+1 -1
View File
@@ -26,7 +26,7 @@ func GenDeploy(service config.Service) error {
}
data := map[string]string{
"NameSpace": service.NameSpace,
"NameSpace": service.Namespace,
"AppName": service.Name,
"AliasName": service.AliasName,
"Port": service.Port,