Skip to content

Commit

Permalink
issue number, github prints
Browse files Browse the repository at this point in the history
  • Loading branch information
motatoes committed Mar 4, 2024
1 parent aaefd97 commit 54c362c
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions libs/orchestrator/github/github.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package github
import (
"context"
"fmt"
"github.com/davecgh/go-spew/spew"
"log"
"os"
"strings"
Expand Down Expand Up @@ -92,12 +91,8 @@ func (svc GithubService) ListIssues() ([]*orchestrator.Issue, error) {
// this is an pull request, skip
continue
}
spew.Dump(issue)
fmt.Print("ID:: %v", *issue.ID)
fmt.Print("Title:: %v", *issue.Title)
fmt.Print("Body:: %v", *issue.Body)

allIssues = append(allIssues, &orchestrator.Issue{ID: *issue.ID, Title: *issue.Title, Body: *issue.Body})
allIssues = append(allIssues, &orchestrator.Issue{ID: int64(*issue.Number), Title: *issue.Title, Body: *issue.Body})
}
if resp.NextPage == 0 {
break
Expand Down

0 comments on commit 54c362c

Please sign in to comment.