diff --git a/pdcs/system.go b/pdcs/system.go index 15fee983..6f52ac05 100644 --- a/pdcs/system.go +++ b/pdcs/system.go @@ -39,7 +39,7 @@ func SystemInfo() (System, error) { func (r reportInfo) runtimeVersion() string { runtime := strings.Split(r.Host.OCIRuntime.Version, ":")[0] runtime = strings.ReplaceAll(runtime, "commit", "") - runtime = strings.Trim(runtime, "\n") + runtime = strings.Split(runtime, "\n")[0] return runtime }