diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2023-03-28 12:48:41 +0200 |
|---|---|---|
| committer | Aleksandr Nogikh <wp32pw@gmail.com> | 2023-03-28 14:02:02 +0200 |
| commit | 48c747718b6ee9425b846941d81e7f6dfe050859 (patch) | |
| tree | 2c5a75f858a47a034e940d8f98bf0ffa14d73174 /dashboard/dashapi | |
| parent | 7df4f03f0bca2ce51d72b78e2cfe3823733810aa (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.go | 7 |
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 { |
