We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d579ce6 commit c41407dCopy full SHA for c41407d
buildSrc/src/main/groovy/org/elasticsearch/gradle/vagrant/VagrantTestPlugin.groovy
@@ -236,7 +236,7 @@ class VagrantTestPlugin implements Plugin<Project> {
236
standardOutput = new ByteArrayOutputStream()
237
doLast {
238
String version = standardOutput.toString().trim()
239
- if ((version ==~ /Vagrant 1\.(8\.[6-9]|9\.[0-9])+/) == false && (version ==~ /Vagrant 2\.[0-9]\.[0-9]+/) == false) {
+ if ((version ==~ /Vagrant 1\.(8\.[6-9]|9\.[0-9])+/) == false && (version ==~ /Vagrant 2\.[0-9]+\.[0-9]+/) == false) {
240
throw new InvalidUserDataException("Illegal version of vagrant [${version}]. Need [Vagrant 1.8.6+]")
241
}
242
0 commit comments