summaryrefslogtreecommitdiff
path: root/pkg/api/server/register_swagger.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2021-04-14 12:02:37 -0400
committerMatthew Heon <mheon@redhat.com>2021-04-16 11:16:15 -0400
commit5c21861b5d964c86bc33af30e83cdcb82e198c1b (patch)
tree3045d9a0a6edb50c12b4b85d0c21fb5b9f90dff9 /pkg/api/server/register_swagger.go
parent6be08f4b1d4f8d04f4b8a221eeed29e94c574407 (diff)
downloadpodman-5c21861b5d964c86bc33af30e83cdcb82e198c1b.tar.gz
podman-5c21861b5d964c86bc33af30e83cdcb82e198c1b.tar.bz2
podman-5c21861b5d964c86bc33af30e83cdcb82e198c1b.zip
Fix flake on failed podman-remote build
We have a race condition where podman build can fail but still return an exit code of 0. This PR ensures that as soon as the build fails, the failed flag is set eliminating the race. Fixes: https://github.com/containers/podman/issues/10029 [NO TESTS NEEDED] Tests of failed builds are already in place, and the elimination of the race should be enough. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'pkg/api/server/register_swagger.go')
0 files changed, 0 insertions, 0 deletions