diff --git a/cmd/meroxa/turbine_cli/utils.go b/cmd/meroxa/turbine_cli/utils.go index bf63f08d0..0751140a9 100644 --- a/cmd/meroxa/turbine_cli/utils.go +++ b/cmd/meroxa/turbine_cli/utils.go @@ -116,7 +116,7 @@ func GitChecks(ctx context.Context, l log.Logger, appPath string) error { func GetPipelineUUID(output string) string { // Example output: // 2022/03/16 13:21:36 pipeline created: "turbine-pipeline-simple" ("049760a8-a3d2-44d9-b326-0614c09a3f3e"). - re := regexp.MustCompile(`pipeline created:."[a-zA-Z]+-[a-zA-Z]+-[a-zA-Z]+".(\([^)]*\))`) + re := regexp.MustCompile(`pipeline:."turbine-pipeline-[a-z0-9-]+".(\([^)]*\))`) res := re.FindStringSubmatch(output)[1] res = strings.Trim(res, "()\"") return res