summaryrefslogtreecommitdiff
path: root/libpod/oci_conmon_linux.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2021-04-12 09:36:33 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2021-04-13 09:42:29 -0400
commite29fee7329446eff9c58da4cde9787749daeb826 (patch)
treebe2b837a3f403d7a26109229cdd10659ceb531ca /libpod/oci_conmon_linux.go
parent481556cbee53fb18e327a71726a0380481ffb767 (diff)
downloadpodman-e29fee7329446eff9c58da4cde9787749daeb826.tar.gz
podman-e29fee7329446eff9c58da4cde9787749daeb826.tar.bz2
podman-e29fee7329446eff9c58da4cde9787749daeb826.zip
Fix message about runtime to show only the actual runtime
Currently the debug line shows every runtime up until it finds the correct one, confusing users on which runtime it is using. Also move missing OCI runtime from containers/conf down to Debug level and improved the debug message, to not report error. [NO TESTS NEEDED] Since this is just debug. Triggered by https://github.com/containers/podman/issues/4854 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'libpod/oci_conmon_linux.go')
-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 f26ca67ce..5e8ed12e7 100644
--- a/libpod/oci_conmon_linux.go
+++ b/libpod/oci_conmon_linux.go
@@ -130,8 +130,8 @@ func newConmonOCIRuntime(name string, paths []string, conmonPath string, runtime
continue
}
foundPath = true
+ logrus.Tracef("found runtime %q", runtime.path)
runtime.path = path
- logrus.Debugf("using runtime %q", path)
break
}