summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikhail Khachayants <khachayants@arrival.com>2022-07-12 10:37:46 +0300
committerMikhail Khachayants <khachayants@arrival.com>2022-07-12 10:37:56 +0300
commitffbc2adf70dd17e02b112b0e75de775df2775102 (patch)
treed712b01951914e5d3c9427e2f8b07e8950cc917e
parent151d7584c193a6f92cd54f61d28ad8b0ff0c31b6 (diff)
downloadpodman-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.go2
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
}