Skip to content

Commit

Permalink
Fix MTA notification
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriel-farache authored and masayag committed Mar 3, 2024
1 parent 29d5331 commit 5d0813e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mta/mta.sw.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ states:
actionDataFilter:
toStateData: ".applications"
stateDataFilter:
output: "{repositoryURL: .repositoryURL, application: .repositoryURL as $r| if .applications == null then null else .applications|map(select(.repository.url == $r))[0] end}"
output: "{backstageUserOrGroup: .backstageUserOrGroup, repositoryURL: .repositoryURL, application: .repositoryURL as $r| if .applications == null then null else .applications|map(select(.repository.url == $r))[0] end}"
transition: AppExist
- name: AppExist
type: switch
Expand Down Expand Up @@ -165,7 +165,6 @@ states:
actions:
- title: "View report"
url: "$SECRET.mta_url + \"/hub/applications/\" + (.application.id|tostring) + \"/bucket/\" + .data.output"

transition: report
- name: report
type: operation
Expand Down

0 comments on commit 5d0813e

Please sign in to comment.