plugins/providers/docker/synced_folder.rb in vagrant-unbundled-2.1.2.0 vs plugins/providers/docker/synced_folder.rb in vagrant-unbundled-2.1.4.0

- old
+ new

@@ -19,10 +19,13 @@ folders.each do |id, data| next if data[:ignore] host_path = data[:hostpath] guest_path = data[:guestpath] - machine.provider_config.volumes << "#{host_path}:#{guest_path}" + # Append consistency option if it exists, otherwise let it nil out + consistency = data[:docker_consistency] + consistency &&= ":" + consistency + machine.provider_config.volumes << "#{host_path}:#{guest_path}#{consistency}" end end end end end