commands/push: push strategy should be string

This commit is contained in:
Mitchell Hashimoto 2014-12-12 01:27:22 -08:00
parent b421561781
commit 669c9fc013
1 changed files with 4 additions and 3 deletions

View File

@ -55,13 +55,14 @@ module VagrantPlugins
end
end
name = name.to_sym
if !pushes.include?(name)
raise Vagrant::Errors::PushStrategyNotDefined,
name: name,
pushes: pushes
name: name.to_s,
pushes: pushes.map(&:to_s)
end
return name.to_sym
return name
end
end
end