Skip to content

Commit 1f2d31b

Browse files
authored
Remove unused status field from CampaignPlan (#160)
1 parent fd1ed5d commit 1f2d31b

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

cmd/src/campaign_plans.go

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,6 @@ func campaignPlanFragment(first int) string {
4444
return fmt.Sprintf(`
4545
fragment CampaignPlanFields on CampaignPlan {
4646
id
47-
status {
48-
completedCount
49-
pendingCount
50-
state
51-
errors
52-
}
5347
changesets(first: %d) {
5448
nodes {
5549
repository {
@@ -145,16 +139,8 @@ type ChangesetPlan struct {
145139
} `json:"diff"`
146140
}
147141

148-
type Status struct {
149-
CompletedCount int `json:"completedCount"`
150-
PendingCount int `json:"pendingCount"`
151-
State string `json:"state"`
152-
Errors []string `json:"errors"`
153-
}
154-
155142
type CampaignPlan struct {
156143
ID string `json:"id"`
157-
Status Status `json:"status"`
158144
Changesets struct {
159145
Nodes []ChangesetPlan `json:"nodes"`
160146
TotalCount int `json:"totalCount"`

0 commit comments

Comments
 (0)