summaryrefslogtreecommitdiff
path: root/client/testserver/gitalyserver.go
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2020-05-08 15:40:18 -0700
committerStan Hu <stanhu@gmail.com>2020-05-08 15:40:18 -0700
commitc0cf314c5722a4f7ec0a1f355d23fa2511344989 (patch)
tree96898bec50690d0d34eb9ead815b8ef4a89a40ce /client/testserver/gitalyserver.go
parent1adadc2e299529e805aae3dac7c2579b88c8dae7 (diff)
downloadgitlab-shell-sh-add-http-status-code.tar.gz
Fix race conditions in testssh-add-http-status-code
Calling logrus hook.LastEntry() can lead to race conditions. Use AllEntries instead: https://github.com/sirupsen/logrus/blob/60c74ad9be0d874af0ab0daef6ab07c5c5911f0d/hooks/test/test.go#L77 Closes https://gitlab.com/gitlab-org/gitlab-shell/-/issues/450
Diffstat (limited to 'client/testserver/gitalyserver.go')
0 files changed, 0 insertions, 0 deletions