From 7c5be029a66940d4ca022b3aa9c9d990e7446f19 Mon Sep 17 00:00:00 2001 From: Musab Date: Sun, 31 Mar 2024 03:59:35 -0400 Subject: [PATCH] Fix MoveInput struct definition (keep_all_labels -> keep_all_votes) (#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. --- changes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changes.go b/changes.go index d362bcf..7edce9f 100644 --- a/changes.go +++ b/changes.go @@ -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.