Revision 3446ec2b6020af2c8481fef379ebbdcbd04e9959 authored by Paul Chaignon on 21 April 2023, 11:46:42 UTC, committed by Nick Young on 26 July 2023, 01:02:34 UTC
[ upstream commit 67a3ab3533a7f77aa4241c0da6b04f5b31da9af9 ]

[ Backporter's notes: the changes had to be manually backported to the
  appropriate files for v1.11, as they were renamed in
  ffd7e57b377f982fb57cf574564b7f1debef74a4 since then.

  (main > v1.11)
  test/k8s/datapath_configuration.go > test/k8sT/DatapathConfiguration.go
]

If we check res.WasSuccessful() instead of res, then ginkgo won't print
the error message in case the command wasn't successful.

Signed-off-by: Paul Chaignon <paul@cilium.io>
Signed-off-by: Nicolas Busseneau <nicolas@isovalent.com>
1 parent 0470ee5
History
File Mode Size
api_limiter.go -rw-r--r-- 27.7 KB
api_limiter_norace_test.go -rw-r--r-- 289 bytes
api_limiter_race_test.go -rw-r--r-- 285 bytes
api_limiter_test.go -rw-r--r-- 26.4 KB
doc.go -rw-r--r-- 352 bytes
limiter.go -rw-r--r-- 2.9 KB
limiter_test.go -rw-r--r-- 1.4 KB

back to top