diff options
| author | Marco Vanotti <mvanotti@google.com> | 2019-03-07 18:03:49 -0800 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2019-03-08 08:07:09 +0100 |
| commit | 12365b99ce83b8a58433eaedbe412dff563ef8fb (patch) | |
| tree | 3d327609c57d6747d8c196ee18fe614c43005fef | |
| parent | 13faf88fdfe3c2b6f434942b793ebe5f59d32106 (diff) | |
syz-ci: fix error reporting for syzupdater.
syzupdater fails to report build errors because it is constructing the
dashapi client with the wrong parameters (it is mixing dashboardAddr
with dashboardClient).
This commit swaps the order of those parameters in syzupdater's
uploadBuildError function.
Fixes #1044
| -rw-r--r-- | syz-ci/syzupdater.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/syz-ci/syzupdater.go b/syz-ci/syzupdater.go index ca5e13251..c2c5b1961 100644 --- a/syz-ci/syzupdater.go +++ b/syz-ci/syzupdater.go @@ -290,7 +290,7 @@ func (upd *SyzUpdater) uploadBuildError(commit *vcs.Commit, buildErr error) { log.Logf(0, "not uploading build error: no dashboard") return } - dash := dashapi.New(upd.dashboardAddr, upd.mgrcfg.DashboardClient, upd.mgrcfg.DashboardKey) + dash := dashapi.New(upd.mgrcfg.DashboardClient, upd.dashboardAddr, upd.mgrcfg.DashboardKey) var title string var output []byte if verbose, ok := buildErr.(*osutil.VerboseError); ok { |
