summaryrefslogtreecommitdiff
path: root/libpod
diff options
context:
space:
mode:
authorMikhail Khachayants <khachayants@arrival.com>2022-07-12 10:37:46 +0300
committerMatthew Heon <matthew.heon@pm.me>2022-07-26 13:01:21 -0400
commitcfb768a36d91a68c0e8fbbdf2b6f2ee175485e88 (patch)
tree7bc5e508366fdfa09590240f066dd0b1d33f7052 /libpod
parent557b65e0925ed9f707da60776603a460a77803e9 (diff)
downloadpodman-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>
Diffstat (limited to 'libpod')
-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
}