mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-14 14:23:37 +00:00
Version(): return runtime version instead of CRI
This commit is contained in:
parent
fa0387c9fe
commit
1986b78e0e
@ -225,7 +225,7 @@ func (m *kubeGenericRuntimeManager) Version() (kubecontainer.Version, error) {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
return newRuntimeVersion(typedVersion.Version)
|
||||
return newRuntimeVersion(typedVersion.RuntimeVersion)
|
||||
}
|
||||
|
||||
// APIVersion returns the cached API version information of the container
|
||||
|
Loading…
Reference in New Issue
Block a user