diff options
author | Matthew Heon <matthew.heon@pm.me> | 2019-08-12 16:34:49 -0400 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2019-08-12 19:05:44 -0400 |
commit | 62e8c328d85c7bfa2dc217034dbcf56d01b5d516 (patch) | |
tree | 08258bc563fc91c3f5188ec144c94434ea0d256c /libpod/runtime_migrate_unsupported.go | |
parent | d3a433181d4aefb6b8d2efdd18066c7322f658a2 (diff) | |
download | podman-62e8c328d85c7bfa2dc217034dbcf56d01b5d516.tar.gz podman-62e8c328d85c7bfa2dc217034dbcf56d01b5d516.tar.bz2 podman-62e8c328d85c7bfa2dc217034dbcf56d01b5d516.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/runtime_migrate_unsupported.go')
0 files changed, 0 insertions, 0 deletions