Skip to content

Commit

Permalink
Address deprecated ruby method
Browse files Browse the repository at this point in the history
  • Loading branch information
fireflycons committed Mar 30, 2024
1 parent e74db22 commit 9049859
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kubeadm-clusters/virtualbox/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ end
# created in VirtualBox.
def get_machine_id(vm_name)
machine_id_filepath = ".vagrant/machines/#{vm_name}/virtualbox/id"
if not File.exists? machine_id_filepath
if not File.exist? machine_id_filepath
return nil
else
return File.read(machine_id_filepath)
Expand Down

0 comments on commit 9049859

Please sign in to comment.