• Thomas Riccardi's avatar
    Recognize newer docker versions without -ce/-ee suffix · 068cdaa5
    Thomas Riccardi authored
    Since docker 18.09, the ServerVersion field format changed: the `-ce`
    or `-ee` suffix disappeared:
    
    - docker 18.06: `18.06.1-ce`
    - docker 18.09: `18.09.0`
    
    This was not expected by the docker_validator version regexp, which
    assumed newer docker versions ended with `-[a-z]{2}`.
    This made the validator return an error, whereas we expect it to
    return only a warning (by recognizing it as a newer but not yet
    supported docker version).
    
    This commit relax the version regexp to also recognize `18.09.0`.
    The docker validator now returns a warning, as tested.
    068cdaa5
Name
Last commit
Last update
..
specs Loading commit data...
BUILD Loading commit data...
cgroup_validator.go Loading commit data...
cgroup_validator_test.go Loading commit data...
docker_validator.go Loading commit data...
docker_validator_test.go Loading commit data...
kernel_validator.go Loading commit data...
kernel_validator_helper.go Loading commit data...
kernel_validator_test.go Loading commit data...
os_validator.go Loading commit data...
os_validator_test.go Loading commit data...
package_validator.go Loading commit data...
package_validator_test.go Loading commit data...
report.go Loading commit data...
types.go Loading commit data...
types_unix.go Loading commit data...
types_windows.go Loading commit data...
validators.go Loading commit data...