aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/mgrconfig
diff options
context:
space:
mode:
authorKonstantinos Andrikopoulos <andrikopoulos@google.com>2024-07-02 02:09:10 +0200
committerTaras Madan <tarasmadan@google.com>2024-07-08 17:03:46 +0000
commit069149491fda90a8622035a1087e70eaaf3aa21f (patch)
tree5d1ff51884754c854721b7f30f17d9fe8305b961 /pkg/mgrconfig
parent6797347ace44e11c47b458fe55ed00d200a88ade (diff)
pkg/mgrconfig: add user agent config option
Diffstat (limited to 'pkg/mgrconfig')
-rw-r--r--pkg/mgrconfig/config.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkg/mgrconfig/config.go b/pkg/mgrconfig/config.go
index 2a7153c7a..0909cd605 100644
--- a/pkg/mgrconfig/config.go
+++ b/pkg/mgrconfig/config.go
@@ -96,9 +96,10 @@ type Config struct {
// Mailx is the only supported mailer. Please set it up prior to using this function.
EmailAddrs []string `json:"email_addrs,omitempty"`
- DashboardClient string `json:"dashboard_client,omitempty"`
- DashboardAddr string `json:"dashboard_addr,omitempty"`
- DashboardKey string `json:"dashboard_key,omitempty"`
+ DashboardClient string `json:"dashboard_client,omitempty"`
+ DashboardAddr string `json:"dashboard_addr,omitempty"`
+ DashboardKey string `json:"dashboard_key,omitempty"`
+ DashboardUserAgent string `json:"dashboard_user_agent,omitempty"`
// If set, only consult dashboard if it needs reproducers for crashes,
// but otherwise don't send any info to dashboard (default: false).
DashboardOnlyRepro bool `json:"dashboard_only_repro,omitempty"`