From 9af7675bd3a1828f606c31b5717885c6a8e1c752 Mon Sep 17 00:00:00 2001 From: Seth Vargo Date: Fri, 24 Oct 2014 19:50:52 -0400 Subject: [PATCH] Use a more readable version for setter --- plugins/kernel_v2/config/push.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/kernel_v2/config/push.rb b/plugins/kernel_v2/config/push.rb index e8ce5a3ee..e0137b29d 100644 --- a/plugins/kernel_v2/config/push.rb +++ b/plugins/kernel_v2/config/push.rb @@ -30,7 +30,8 @@ module VagrantPlugins # Capture the strategy so we can use it later. This will be used in # the block iteration for merging/overwriting - strategy = (tuples[0] && tuples[0][0]) || name + strategy = name + strategy = tuples[0][0] if tuples[0] begin tuples.each do |s, b|