diff options
author | Mikhail Khachayants <khachayants@arrival.com> | 2022-07-12 10:37:46 +0300 |
---|---|---|
committer | Mikhail Khachayants <khachayants@arrival.com> | 2022-07-12 10:37:56 +0300 |
commit | ffbc2adf70dd17e02b112b0e75de775df2775102 (patch) | |
tree | d712b01951914e5d3c9427e2f8b07e8950cc917e | |
parent | 151d7584c193a6f92cd54f61d28ad8b0ff0c31b6 (diff) | |
download | podman-ffbc2adf70dd17e02b112b0e75de775df2775102.tar.gz podman-ffbc2adf70dd17e02b112b0e75de775df2775102.tar.bz2 podman-ffbc2adf70dd17e02b112b0e75de775df2775102.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 } |