Skip to content

Commit

Permalink
Cleanup some conflict marker and add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Oded-B committed Jun 12, 2024
1 parent ab8d0dd commit 47f1b99
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/pkg/githubapi/promotion.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,11 @@ func getComponentConfig(ghPrClientDetails GhPrClientDetails, componentPath strin
return componentConfig, nil
}

<<<<<<< HEAD
// This function generates a list of "components" that where changed in the PR and are relevant for promotion)
func generateListOfRelevantComponents(ghPrClientDetails GhPrClientDetails, config *cfg.Config) (relevantComponents map[relevantComponent]struct{}, err error) {
relevantComponents = make(map[relevantComponent]struct{})
//prFiles, resp, err := ghPrClientDetails.GhClientPair.v3Client.PullRequests.ListFiles(ghPrClientDetails.Ctx, ghPrClientDetails.Owner, ghPrClientDetails.Repo, ghPrClientDetails.PrNumber, &github.ListOptions{})

// Get the list of files in the PR, with pagination
opts := &github.ListOptions{}
prFiles := []*github.CommitFile{}
for {
Expand Down

0 comments on commit 47f1b99

Please sign in to comment.