Skip to content

Commit

Permalink
Fix MoveInput struct definition (keep_all_labels -> keep_all_votes) (#…
Browse files Browse the repository at this point in the history
…161)

Since Gerrit 3.4.0, the MoveInput field has been `keep_all_votes` and
not `keep_all_labels`. This change makes the MoveInput struct reflect
that.
  • Loading branch information
musabshak authored Mar 31, 2024
1 parent 444a268 commit 7c5be02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion changes.go
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ type CommentInput struct {
type MoveInput struct {
DestinationBranch string `json:"destination_branch"`
Message string `json:"message,omitempty"`
KeepAllLabels bool `json:"keep_all_labels"`
KeepAllVotes bool `json:"keep_all_votes"`
}

// RobotCommentInput entity contains information for creating an inline robot comment.
Expand Down

0 comments on commit 7c5be02

Please sign in to comment.