mirror of https://github.com/containers/podman.git
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:
parent
151d7584c1
commit
ffbc2adf70
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue