Skip to content

Commit

Permalink
Update internal/pkg/githubapi/github.go
Browse files Browse the repository at this point in the history
Co-authored-by: Hannes Gustafsson <[email protected]>
  • Loading branch information
ashvarts and hnnsgstfssn authored Oct 29, 2024
1 parent 382ca33 commit b4f382d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/pkg/githubapi/github.go
Original file line number Diff line number Diff line change
Expand Up @@ -1156,7 +1156,7 @@ func getPromotionSkipPaths(promotion PromotionInstance) map[string]bool {
// therefore, we return an empty promotionSkipPaths map to signify that
// there are no paths that are skipped for this promotion
for _, component := range promotion.Metadata.ComponentNames {
if _, ok := promotion.Metadata.PerComponentSkippedTargetPaths[component]; !ok {
if _, ok := perComponentSkippedTargetPaths[component]; !ok {
return promotionSkipPaths
}
}
Expand Down

0 comments on commit b4f382d

Please sign in to comment.