diff options
author | Matthew Heon <matthew.heon@pm.me> | 2019-08-12 16:34:49 -0400 |
---|---|---|
committer | Matthew Heon <mheon@redhat.com> | 2019-08-27 15:45:51 -0400 |
commit | bbb1ba78d4da3df796b845c67ff477e7cd8563dc (patch) | |
tree | 28c790520e074bb77463940e733a999769c05b2b /libpod/healthcheck_linux.go | |
parent | 3849d8cbfb4031d2625b015fa421d4f44f23a6b4 (diff) | |
download | podman-bbb1ba78d4da3df796b845c67ff477e7cd8563dc.tar.gz podman-bbb1ba78d4da3df796b845c67ff477e7cd8563dc.tar.bz2 podman-bbb1ba78d4da3df796b845c67ff477e7cd8563dc.zip |
Small optimization - only store exit code when nonzero
JSON optimizes it out in that case anyways, so don't waste cycles
doing an Itoa (and Atoi on the decode side).
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
Diffstat (limited to 'libpod/healthcheck_linux.go')
0 files changed, 0 insertions, 0 deletions