Skip to content
Permalink
Browse files

Merge pull request #72659 from jsturtevant/fix-windows-kernal-version…

…-output

Remove newline from kernel version on windows node
  • Loading branch information...
k8s-ci-robot committed Jan 11, 2019
2 parents 33a9c6e + c6777f9 commit d2d9a3aba471e56e1a753a05061dc6cb60137711
Showing with 1 addition and 1 deletion.
  1. +1 −1 pkg/kubelet/winstats/version.go
@@ -101,7 +101,7 @@ func getKernelVersion() (string, error) {
return "", err
}

return fmt.Sprintf("%d.%d.%s.%d\n", majorVersionNumber[0], minorVersionNumber[0], buildNumber, revision), nil
return fmt.Sprintf("%d.%d.%s.%d", majorVersionNumber[0], minorVersionNumber[0], buildNumber, revision), nil
}

// getOSImageVersion gets the osImage name and version.

0 comments on commit d2d9a3a

Please sign in to comment.
You can’t perform that action at this time.