aboutsummaryrefslogtreecommitdiffstats
path: root/dashboard/app/reporting.go
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2023-07-12 15:34:46 +0200
committerAleksandr Nogikh <nogikh@google.com>2023-07-13 08:20:02 +0000
commitbfb20202da73451f997b711447ee68bc3635868e (patch)
treee8fbdbd6a8761a6a73711301deb655572749c70e /dashboard/app/reporting.go
parent860811962461dbc8d8fb3af4fd7f65cf50857661 (diff)
dashboard: always return full UserSpaceArch
Currently we return an empty value for amd64, so that it's not reported. Let's make the API more flexible -- return the value as is and let specific reporters decide whether to mention amd64 or not.
Diffstat (limited to 'dashboard/app/reporting.go')
-rw-r--r--dashboard/app/reporting.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/dashboard/app/reporting.go b/dashboard/app/reporting.go
index 071d67339..e29d2da16 100644
--- a/dashboard/app/reporting.go
+++ b/dashboard/app/reporting.go
@@ -1569,8 +1569,6 @@ func kernelArch(arch string) string {
switch arch {
case targets.I386:
return "i386"
- case targets.AMD64:
- return "" // this is kinda the default, so we don't notify about it
default:
return arch
}