This commit is contained in:
parent
3e0ef078c9
commit
6727c61839
@ -132,7 +132,7 @@ func getDeployApiByCommitMessage(api ApiList, message string) ApiList {
|
||||
foundApp := foundAppByMessage(message)
|
||||
for _, app := range foundApp {
|
||||
for _, a := range api {
|
||||
if a.Name == app {
|
||||
if "api-"+a.Name == app {
|
||||
ret = append(ret, a)
|
||||
}
|
||||
}
|
||||
@ -163,7 +163,7 @@ func getDeployServiceByCommitMessage(service ServiceList, message string) Servic
|
||||
foundApp := foundAppByMessage(message)
|
||||
for _, app := range foundApp {
|
||||
for _, s := range service {
|
||||
if s.Name == app {
|
||||
if "service-"+s.Name == app {
|
||||
ret = append(ret, s)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user