mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue