commands/push: push strategy should be string
This commit is contained in:
parent
b421561781
commit
669c9fc013
|
@ -55,13 +55,14 @@ module VagrantPlugins
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
name = name.to_sym
|
||||||
if !pushes.include?(name)
|
if !pushes.include?(name)
|
||||||
raise Vagrant::Errors::PushStrategyNotDefined,
|
raise Vagrant::Errors::PushStrategyNotDefined,
|
||||||
name: name,
|
name: name.to_s,
|
||||||
pushes: pushes
|
pushes: pushes.map(&:to_s)
|
||||||
end
|
end
|
||||||
|
|
||||||
return name.to_sym
|
return name
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue