diff options
| author | Taras Madan <tarasmadan@google.com> | 2024-12-12 15:35:24 +0100 |
|---|---|---|
| committer | Taras Madan <tarasmadan@google.com> | 2024-12-12 15:52:20 +0000 |
| commit | 4ea1fe6aae47bcfc828797d283ecbc755682e7c9 (patch) | |
| tree | 3569552ec09ef36f3c8cece37521f18b60f394df /dashboard/app/api.go | |
| parent | 5388eec6a1e6628f5ba367193f4131e82074ab3b (diff) | |
tools/syz-covermerger: more logs
I don't see any visible problems but the records in DB are not created.
Let's report the amount of records created at the end of the batch step.
+log the names of the managers
Diffstat (limited to 'dashboard/app/api.go')
| -rw-r--r-- | dashboard/app/api.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dashboard/app/api.go b/dashboard/app/api.go index bfd3add1b..b70cac882 100644 --- a/dashboard/app/api.go +++ b/dashboard/app/api.go @@ -1906,7 +1906,7 @@ func apiSaveCoverage(c context.Context, r *http.Request, payload []byte) (interf sss = service.List() log.Infof(c, "found %d subsystems for %s namespace", len(sss), coverage.Namespace) } - err := coveragedb.SaveMergeResult( + rowsCreated, err := coveragedb.SaveMergeResult( context.Background(), appengine.AppID(context.Background()), coverage.FileData, @@ -1927,5 +1927,5 @@ func apiSaveCoverage(c context.Context, r *http.Request, payload []byte) (interf log.Infof(c, "updated coverage for ns %s, date %s to %d rows", coverage.Namespace, coverage.DateTo.String(), coverage.TotalRows) } - return nil, err + return &rowsCreated, err } |
