lib/kitchen/driver/docker.rb in kitchen-docker-1.4.0 vs lib/kitchen/driver/docker.rb in kitchen-docker-1.5.0

- old
+ new

@@ -63,9 +63,12 @@ 'You must first install the Docker CLI tool http://www.docker.io/gettingstarted/' end def default_image platform, release = instance.platform.name.split('-') + if platform == "centos" && release + release = "centos" + release.split('.').first + end release ? [platform, release].join(':') : platform end def default_platform instance.platform.name.split('-').first