mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 18:43:34 +00:00
util: Rename KernelVersion to GetKernelVersion
Renames KernelVersion to GetKernelVersion for more readibility. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
committed by
mergify[bot]
parent
12c3be9974
commit
567b2ab280
@ -111,7 +111,7 @@ func main() {
|
||||
fmt.Println("Go Version:", runtime.Version())
|
||||
fmt.Println("Compiler:", runtime.Compiler)
|
||||
fmt.Printf("Platform: %s/%s\n", runtime.GOOS, runtime.GOARCH)
|
||||
if kv, err := util.KernelVersion(); err == nil {
|
||||
if kv, err := util.GetKernelVersion(); err == nil {
|
||||
fmt.Println("Kernel:", kv)
|
||||
}
|
||||
os.Exit(0)
|
||||
|
Reference in New Issue
Block a user