From c00eb5a5a8994e2da4867e447c938ee980257640 Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Tue, 15 Feb 2022 14:58:44 -0800 Subject: [PATCH] Store options value as hash --- plugins/commands/serve/type/options.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/commands/serve/type/options.rb b/plugins/commands/serve/type/options.rb index 463d1c897..fb637d82a 100644 --- a/plugins/commands/serve/type/options.rb +++ b/plugins/commands/serve/type/options.rb @@ -9,7 +9,7 @@ module VagrantPlugins raise TypeError, "Expected type `Hash' but received `#{value.class}'" end - super(value: OpenStruct.new(value)) + super(value: OpenStruct.new(value).to_h) end end end