From a00483debabc6b3f1027c30f345dae800a044a26 Mon Sep 17 00:00:00 2001 From: Allison Larson Date: Tue, 20 Aug 2024 11:06:35 -0700 Subject: [PATCH] Move nfs mounting message within block --- plugins/synced_folders/nfs/synced_folder.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/plugins/synced_folders/nfs/synced_folder.rb b/plugins/synced_folders/nfs/synced_folder.rb index 4d4d0a686a0..44efcf37a46 100644 --- a/plugins/synced_folders/nfs/synced_folder.rb +++ b/plugins/synced_folders/nfs/synced_folder.rb @@ -103,12 +103,12 @@ def enable(machine, folders, nfsopts) mount_folders = {} folders.each do |id, opts| mount_folders[id] = opts.dup if opts[:guestpath] - end - machine.ui.detail(I18n.t("vagrant.actions.vm.nfs.mounting_entry", - guestpath: opts[:guestpath], - hostpath: opts[:hostpath] - )) + machine.ui.detail(I18n.t("vagrant.actions.vm.nfs.mounting_entry", + guestpath: opts[:guestpath], + hostpath: opts[:hostpath] + )) + end # Mount them! if machine.guest.capability?(:nfs_pre)