aboutsummaryrefslogtreecommitdiffstats
path: root/dashboard/dashapi/dashapi.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2017-11-06 14:57:23 +0100
committerDmitry Vyukov <dvyukov@google.com>2017-11-06 15:01:28 +0100
commita2961665fd263f7a4675acc55a9e5b92b7221b08 (patch)
tree1f1b3560c2c58c3f458548767bb78479736451e5 /dashboard/dashapi/dashapi.go
parentd5a1adcc06d06cf0b463d5b083d148e26d485109 (diff)
dashboard/app: pass namespace in bug reports
Namespace can be used for some customization in external reporter.
Diffstat (limited to 'dashboard/dashapi/dashapi.go')
-rw-r--r--dashboard/dashapi/dashapi.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/dashboard/dashapi/dashapi.go b/dashboard/dashapi/dashapi.go
index ef51f4f51..28a4f7bf8 100644
--- a/dashboard/dashapi/dashapi.go
+++ b/dashboard/dashapi/dashapi.go
@@ -137,6 +137,7 @@ func (dash *Dashboard) LogError(name, msg string, args ...interface{}) {
// BugReport describes a single bug.
// Used by dashboard external reporting.
type BugReport struct {
+ Namespace string
Config []byte
ID string
ExtID string // arbitrary reporting ID forwarded from BugUpdate.ExtID