Fix apparent typo
Docker-DCO-1.1-Signed-off-by: Charles Lindsay <chaz@chazomatic.us> (github: chazomaticus) Upstream-commit: 14b2b2b7c2db83ef1413a7469608f655cd15958e Component: engine
This commit is contained in:
@ -560,7 +560,7 @@ func (k *KernelVersionInfo) String() string {
|
||||
}
|
||||
|
||||
// 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 {
|
||||
if a.Kernel < b.Kernel {
|
||||
return -1
|
||||
|
||||
Reference in New Issue
Block a user