mirror of
https://github.com/containers/podman.git
synced 2025-06-17 06:57:43 +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:

committed by
Matthew Heon

parent
557b65e092
commit
cfb768a36d
@ -133,7 +133,7 @@ func newConmonOCIRuntime(name string, paths []string, conmonPath string, runtime
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
foundPath = true
|
foundPath = true
|
||||||
logrus.Tracef("found runtime %q", runtime.path)
|
logrus.Tracef("found runtime %q", path)
|
||||||
runtime.path = path
|
runtime.path = path
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user