Skip to content

Commit

Permalink
Merge pull request #323 from 123456890987654321/main
Browse files Browse the repository at this point in the history
Update runtimeVersion to report first line only
  • Loading branch information
navidys authored Jan 9, 2025
2 parents 28a64c4 + 34ddd9b commit 7bfb6fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pdcs/system.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 7bfb6fb

Please sign in to comment.