mirror of https://github.com/docker/docs.git
Fix apparent typo
Docker-DCO-1.1-Signed-off-by: Charles Lindsay <chaz@chazomatic.us> (github: chazomaticus)
This commit is contained in:
parent
d2c9c1036b
commit
14b2b2b7c2
|
@ -560,7 +560,7 @@ func (k *KernelVersionInfo) String() string {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Compare two KernelVersionInfo struct.
|
// Compare two KernelVersionInfo struct.
|
||||||
// Returns -1 if a < b, = if a == b, 1 it a > b
|
// Returns -1 if a < b, 0 if a == b, 1 it a > b
|
||||||
func CompareKernelVersion(a, b *KernelVersionInfo) int {
|
func CompareKernelVersion(a, b *KernelVersionInfo) int {
|
||||||
if a.Kernel < b.Kernel {
|
if a.Kernel < b.Kernel {
|
||||||
return -1
|
return -1
|
||||||
|
|
Loading…
Reference in New Issue