diff options
Diffstat (limited to 'ops/besadii')
-rw-r--r-- | ops/besadii/main.go2 | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/ops/besadii/main.go2 b/ops/besadii/main.go2 index 27dd76b42f89..998c677010bc 100644 --- a/ops/besadii/main.go2 +++ b/ops/besadii/main.go2 @@ -223,9 +223,10 @@ func refUpdatedMain() { // // https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#review-input type reviewInput struct { - Message string `json:"message"` - Labels map[string]int `json:"labels"` - OmitDuplicateComments bool `json:"omit_duplicate_comments"` + Message string `json:"message"` + Labels map[string]int `json:"labels"` + OmitDuplicateComments bool `json:"omit_duplicate_comments"` + IgnoreDefaultAttentionSetRules bool `json:"ignore_default_attention_set_rules"` } func postCommandMain() { @@ -269,6 +270,9 @@ func postCommandMain() { Labels: map[string]int{ "Verified": verified, }, + + // Update the attention set if we are failing this patchset. + IgnoreDefaultAttentionSetRules: verified == 1, } body, _ := json.Marshal(review) |