fix: yaml tag
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user