Skip to content

Commit

Permalink
Merge pull request #301 from nekator/fix/GH300
Browse files Browse the repository at this point in the history
fix:  GH-300
  • Loading branch information
jenkins-x-bot authored Oct 12, 2022
2 parents e7ee88a + d60cf96 commit 3499e7d
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"merge_commit_sha": null,
"merge_error": null,
"merge_params": {
"force_remove_source_branch": "0"
"force_remove_source_branch": false
},
"merge_status": "can_be_merged",
"merge_user_id": null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"merge_commit_sha": null,
"merge_error": null,
"merge_params": {
"force_remove_source_branch": "0"
"force_remove_source_branch": false
},
"merge_status": "can_be_merged",
"merge_user_id": null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"merge_commit_sha": null,
"merge_error": null,
"merge_params": {
"force_remove_source_branch": "0"
"force_remove_source_branch": false
},
"merge_status": "unchecked",
"merge_user_id": null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"merge_commit_sha": null,
"merge_error": null,
"merge_params": {
"force_remove_source_branch": "0"
"force_remove_source_branch": false
},
"merge_status": "unchecked",
"merge_user_id": null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"merge_commit_sha": "78a76ee6b4992a6baf64c59fc4c44c7323d60438",
"merge_error": null,
"merge_params": {
"force_remove_source_branch": "0"
"force_remove_source_branch": false
},
"merge_status": "can_be_merged",
"merge_user_id": null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"merge_commit_sha": null,
"merge_error": null,
"merge_params": {
"force_remove_source_branch": "0"
"force_remove_source_branch": false
},
"merge_status": "can_be_merged",
"merge_user_id": null,
Expand Down
4 changes: 2 additions & 2 deletions scm/driver/gitlab/webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,7 @@ type (
MergeCommitSha string `json:"merge_commit_sha"`
MergeError interface{} `json:"merge_error"`
MergeParams struct {
ForceRemoveSourceBranch string `json:"force_remove_source_branch"`
ForceRemoveSourceBranch bool `json:"force_remove_source_branch"`
} `json:"merge_params"`
MergeStatus string `json:"merge_status"`
MergeUserID interface{} `json:"merge_user_id"`
Expand Down Expand Up @@ -698,7 +698,7 @@ type (
MergeCommitSha string `json:"merge_commit_sha"`
MergeError interface{} `json:"merge_error"`
MergeParams struct {
ForceRemoveSourceBranch string `json:"force_remove_source_branch"`
ForceRemoveSourceBranch bool `json:"force_remove_source_branch"`
} `json:"merge_params"`
MergeStatus string `json:"merge_status"`
MergeUserID interface{} `json:"merge_user_id"`
Expand Down

0 comments on commit 3499e7d

Please sign in to comment.