Version(): return runtime version instead of CRI

This commit is contained in:
Pengfei Ni 2017-03-02 14:42:37 +08:00
parent fa0387c9fe
commit 1986b78e0e

View File

@ -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