diff --git a/config_handler/config_handler.go b/config_handler/config_handler.go index 7fd120d..0a4cf63 100644 --- a/config_handler/config_handler.go +++ b/config_handler/config_handler.go @@ -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) } }