Skip to content

Commit 5d3e339

Browse files
ccojocark8s-ci-robot
authored andcommitted
Use the exist? method in Vagrantfile to avoid undifined method exists?
Change-Id: I0181d6fd17ecae835c2ec2dbf1971b6eda87bdaf Signed-off-by: Cosmin Cojocar <[email protected]>
1 parent 186d47e commit 5d3e339

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

hack/ci/Vagrantfile-debian

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Vagrant.configure("2") do |config|
1616
v.cpus = cpus
1717
end
1818

19-
if File.exists?("./ssh-config")
19+
if File.exist?("./ssh-config")
2020
config.ssh.config = "./ssh-config"
2121
end
2222

hack/ci/Vagrantfile-fedora

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Vagrant.configure("2") do |config|
1717
v.cpus = cpus
1818
end
1919

20-
if File.exists?("./ssh-config")
20+
if File.exist?("./ssh-config")
2121
config.ssh.config = "./ssh-config"
2222
end
2323

hack/ci/Vagrantfile-flatcar

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Vagrant.configure("2") do |config|
2525
v.cpus = cpus
2626
end
2727

28-
if File.exists?("./ssh-config")
28+
if File.exist?("./ssh-config")
2929
config.ssh.config = "./ssh-config"
3030
end
3131
config.ssh.connect_timeout = 30

hack/ci/Vagrantfile-ubuntu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Vagrant.configure("2") do |config|
1616
v.cpus = cpus
1717
end
1818

19-
if File.exists?("./ssh-config")
19+
if File.exist?("./ssh-config")
2020
config.ssh.config = "./ssh-config"
2121
end
2222

0 commit comments

Comments
 (0)