mirror of
https://github.com/containers/podman.git
synced 2025-05-17 23:26:08 +08:00
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>
This commit is contained in:
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user