aboutsummaryrefslogtreecommitdiffstats
path: root/dashboard/dashapi
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2023-03-28 12:48:41 +0200
committerAleksandr Nogikh <wp32pw@gmail.com>2023-03-28 14:02:02 +0200
commit48c747718b6ee9425b846941d81e7f6dfe050859 (patch)
tree2c5a75f858a47a034e940d8f98bf0ffa14d73174 /dashboard/dashapi
parent7df4f03f0bca2ce51d72b78e2cfe3823733810aa (diff)
dashboard: support `#syz regenerate` command
If the `#syz regenerate` command is sent in response to a bug list, dashboard will schedule its regeneration the next time the corresponding cron job is run.
Diffstat (limited to 'dashboard/dashapi')
-rw-r--r--dashboard/dashapi/dashapi.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/dashboard/dashapi/dashapi.go b/dashboard/dashapi/dashapi.go
index 7d9de3195..eb6557e41 100644
--- a/dashboard/dashapi/dashapi.go
+++ b/dashboard/dashapi/dashapi.go
@@ -489,9 +489,10 @@ type BugListUpdate struct {
type BugListUpdateCommand string
const (
- BugListSentCmd BugListUpdateCommand = "sent"
- BugListUpdateCmd BugListUpdateCommand = "update"
- BugListUpstreamCmd BugListUpdateCommand = "upstream"
+ BugListSentCmd BugListUpdateCommand = "sent"
+ BugListUpdateCmd BugListUpdateCommand = "update"
+ BugListUpstreamCmd BugListUpdateCommand = "upstream"
+ BugListRegenerateCmd BugListUpdateCommand = "regenerate"
)
type BugUpdate struct {