Skip to content

Commit

Permalink
fix(controller): make git-pr-waiter get pr number using correct key (#…
Browse files Browse the repository at this point in the history
…2601)

Signed-off-by: Kent Rancourt <[email protected]>
  • Loading branch information
krancour authored Sep 29, 2024
1 parent 1ef5edd commit eecd669
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/directives/git_pr_waiter.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ func getPRNumber(sharedState State, cfg GitWaitForPRConfig) (int64, error) {
cfg.PRNumberFromOpen,
)
}
prNumberAny, exists := stepOutputMap[branchKey]
prNumberAny, exists := stepOutputMap[prNumberKey]
if !exists {
return 0, fmt.Errorf(
"no PR number found in output from step with alias %q",
Expand Down

0 comments on commit eecd669

Please sign in to comment.