diff options
author | Mikhail Khachayants <khachayants@arrival.com> | 2022-07-12 10:37:46 +0300 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2022-07-26 13:01:21 -0400 |
commit | cfb768a36d91a68c0e8fbbdf2b6f2ee175485e88 (patch) | |
tree | 7bc5e508366fdfa09590240f066dd0b1d33f7052 | |
parent | 557b65e0925ed9f707da60776603a460a77803e9 (diff) | |
download | podman-cfb768a36d91a68c0e8fbbdf2b6f2ee175485e88.tar.gz podman-cfb768a36d91a68c0e8fbbdf2b6f2ee175485e88.tar.bz2 podman-cfb768a36d91a68c0e8fbbdf2b6f2ee175485e88.zip |
fix wrong log message on Trace level
[NO NEW TESTS NEEDED]
Empty path to runtime binary was printed instead of a real path.
Before fix:
TRAC[0000] found runtime ""
TRAC[0000] found runtime ""
After:
TRAC[0000] found runtime "/usr/bin/crun"
TRAC[0000] found runtime "/usr/bin/runc"
Signed-off-by: Mikhail Khachayants <khachayants@arrival.com>
-rw-r--r-- | libpod/oci_conmon_linux.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/oci_conmon_linux.go b/libpod/oci_conmon_linux.go index abc579519..cb76de72c 100644 --- a/libpod/oci_conmon_linux.go +++ b/libpod/oci_conmon_linux.go @@ -133,7 +133,7 @@ func newConmonOCIRuntime(name string, paths []string, conmonPath string, runtime continue } foundPath = true - logrus.Tracef("found runtime %q", runtime.path) + logrus.Tracef("found runtime %q", path) runtime.path = path break } |