mirror of
https://github.com/containers/podman.git
synced 2025-10-18 03:33:32 +08:00
Merge pull request #9995 from rhatdan/debug
Fix message about runtime to show only the actual runtime
This commit is contained in:
@ -385,7 +385,7 @@ func makeRuntime(ctx context.Context, runtime *Runtime) (retErr error) {
|
||||
// This will allow us to ship configs including optional
|
||||
// runtimes that might not be installed (crun, kata).
|
||||
// Only a infof so default configs don't spec errors.
|
||||
logrus.Infof("Error initializing configured OCI runtime %s: %v", name, err)
|
||||
logrus.Debugf("configured OCI runtime %s initialization failed: %v", name, err)
|
||||
continue
|
||||
}
|
||||
|
||||
@ -412,6 +412,7 @@ func makeRuntime(ctx context.Context, runtime *Runtime) (retErr error) {
|
||||
runtime.defaultOCIRuntime = ociRuntime
|
||||
}
|
||||
}
|
||||
logrus.Debugf("Using OCI runtime %q", runtime.defaultOCIRuntime.Path())
|
||||
|
||||
// Do we have at least one valid OCI runtime?
|
||||
if len(runtime.ociRuntimes) == 0 {
|
||||
|
Reference in New Issue
Block a user