Skip to content

Commit 4e9132e

Browse files
authored
fix malformed struct tags (#1775)
1 parent 9cd8631 commit 4e9132e

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

backend/controllers/github.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ func GithubAppSetup(c *gin.Context) {
134134
RedirectURL string `json:"redirect_url"`
135135
CallbackUrls []string `json:"callback_urls"`
136136
RequestOauthOnInstall bool `json:"request_oauth_on_install"`
137-
SetupOnUpdate bool `json:"setup_on_update"'`
137+
SetupOnUpdate bool `json:"setup_on_update"`
138138
URL string `json:"url"`
139139
Webhook *githubWebhook `json:"hook_attributes"`
140140
}

backend/controllers/projects.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ type SetJobStatusRequest struct {
322322
JobSummary *terraform_utils.TerraformSummary `json:"job_summary"`
323323
Footprint *terraform_utils.TerraformPlanFootprint `json:"job_plan_footprint"`
324324
PrCommentUrl string `json:"pr_comment_url"`
325-
TerraformOutput string `json:"terraform_output""`
325+
TerraformOutput string `json:"terraform_output"`
326326
}
327327

328328
func (d DiggerController) SetJobStatusForProject(c *gin.Context) {

ee/drift/controllers/ci_jobs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ type SetJobStatusRequest struct {
1717
JobSummary *terraform_utils.TerraformSummary `json:"job_summary"`
1818
Footprint *terraform_utils.TerraformPlanFootprint `json:"job_plan_footprint"`
1919
PrCommentUrl string `json:"pr_comment_url"`
20-
TerraformOutput string `json:"terraform_output""`
20+
TerraformOutput string `json:"terraform_output"`
2121
}
2222

2323
func (mc MainController) SetJobStatusForProject(c *gin.Context) {

next/controllers/github.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ func GithubAppSetup(c *gin.Context) {
114114
RedirectURL string `json:"redirect_url"`
115115
CallbackUrls []string `json:"callback_urls"`
116116
RequestOauthOnInstall bool `json:"request_oauth_on_install"`
117-
SetupOnUpdate bool `json:"setup_on_update"'`
117+
SetupOnUpdate bool `json:"setup_on_update"`
118118
URL string `json:"url"`
119119
Webhook *githubWebhook `json:"hook_attributes"`
120120
}

0 commit comments

Comments
 (0)